eslint-plugin-functional
eslint-plugin-functional copied to clipboard
ESLint rules to disable mutation and promote fp in JavaScript and TypeScript.
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Adoption](https://docs.renovatebot.com/merge-confidence/) | [Passing](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---|---|---| | [@typescript-eslint/eslint-plugin](https://typescript-eslint.io/packages/eslint-plugin) ([source](https://redirect.github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin)) | [`8.45.0` -> `8.49.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2feslint-plugin/8.45.0/8.49.0) |  |...
> **Note:** This PR body was truncated due to platform limits. This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Adoption](https://docs.renovatebot.com/merge-confidence/) | [Passing](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) |...
> **Note:** This PR body was truncated due to platform limits. This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Adoption](https://docs.renovatebot.com/merge-confidence/) | [Passing](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) |...
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Adoption](https://docs.renovatebot.com/merge-confidence/) | [Passing](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---|---|---| | [eslint-plugin-eslint-plugin](https://redirect.github.com/eslint-community/eslint-plugin-eslint-plugin) | [`6.4.0` -> `7.2.0`](https://renovatebot.com/diffs/npm/eslint-plugin-eslint-plugin/6.4.0/7.2.0) |  | ...
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Adoption](https://docs.renovatebot.com/merge-confidence/) | [Passing](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---|---|---| | [@stylistic/eslint-plugin](https://redirect.github.com/eslint-stylistic/eslint-stylistic) ([source](https://redirect.github.com/eslint-stylistic/eslint-stylistic/tree/HEAD/packages/eslint-plugin)) | [`4.4.1` -> `5.6.1`](https://renovatebot.com/diffs/npm/@stylistic%2feslint-plugin/4.4.1/5.6.1) |  |...
## Suggestion See `tseslint.config()` is deprecated: https://typescript-eslint.io/packages/typescript-eslint/#config-deprecated It is recommended to setup plugins with `defineConfig` of `eslint`. Trying to setup this plugin the recommended way results in: > Type 'EslintPluginFunctional'...
Thanks very much to the devs for this library, which has helped me understand functional programming more than any tutorial. ## Background Svelte passes props between components using a different...
### Why the issue was filed? Running ESLint with eslint-plugin-functional's rule `functional/prefer-immutable-types` on a Next.js page crashes ESLint with "ErrorType encountered." when the rule analyzes a parameter typed with Next's...