eslint-plugin-functional icon indicating copy to clipboard operation
eslint-plugin-functional copied to clipboard

ESLint rules to disable mutation and promote fp in JavaScript and TypeScript.

Results 70 eslint-plugin-functional issues
Sort by recently updated
recently updated
newest added
trafficstars

Like suggested in #575 but for `prefer-immutable-types`. Ignoring types from 3rd parties can make this rule a lot easier to adhere to.

Type: Feature

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@semantic-release/github](https://togithub.com/semantic-release/github) | [`10.0.6` -> `10.0.7`](https://renovatebot.com/diffs/npm/@semantic-release%2fgithub/10.0.6/10.0.7) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@semantic-release%2fgithub/10.0.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)...

Type: Maintenance
:blue_heart:

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [eslint-plugin-unicorn](https://togithub.com/sindresorhus/eslint-plugin-unicorn) | [`51.0.1` -> `54.0.0`](https://renovatebot.com/diffs/npm/eslint-plugin-unicorn/51.0.1/54.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/eslint-plugin-unicorn/54.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)...

Type: Maintenance
:blue_heart:

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [cspell](https://streetsidesoftware.github.io/cspell/) ([source](https://togithub.com/streetsidesoftware/cspell/tree/HEAD/packages/cspell)) | [`8.6.1` -> `8.9.1`](https://renovatebot.com/diffs/npm/cspell/8.6.1/8.9.1) |...

Type: Maintenance
:blue_heart:

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [eslint-plugin-sonarjs](https://togithub.com/SonarSource/eslint-plugin-sonarjs) | [`0.25.0` -> `1.0.3`](https://renovatebot.com/diffs/npm/eslint-plugin-sonarjs/0.25.0/1.0.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/eslint-plugin-sonarjs/1.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)...

Type: Maintenance
:blue_heart:

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [eslint-plugin-markdown](https://togithub.com/eslint/eslint-plugin-markdown) | [`3.0.1` -> `5.0.0`](https://renovatebot.com/diffs/npm/eslint-plugin-markdown/3.0.1/5.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/eslint-plugin-markdown/5.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)...

Type: Maintenance
:blue_heart:

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [deepmerge-ts](https://togithub.com/RebeccaStevens/deepmerge-ts) | [`^5.1.0` -> `^7.0.0`](https://renovatebot.com/diffs/npm/deepmerge-ts/5.1.0/7.0.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/deepmerge-ts/7.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)...

Type: Maintenance
:blue_heart:

## Bug Report ```ts // eslint-enable functional/immutable-data: ["error", { ignoreAccessorPattern: ["**.bar.**"]] foo.bar!.baz = 1; ```

Type: Bug

## Suggestion ```ts somePromise.catch(() => { throw new Error("Some error"); }); ```

Type: Enhancement