eslint-plugin-functional
Advanced tools
Comparing version 6.0.1 to 6.1.0
{ | ||
"name": "eslint-plugin-functional", | ||
"version": "6.0.1", | ||
"version": "6.1.0", | ||
"description": "ESLint rules to disable mutation and promote fp in TypeScript.", | ||
@@ -82,14 +82,14 @@ "keywords": [ | ||
"devDependencies": { | ||
"@babel/core": "7.22.9", | ||
"@babel/eslint-parser": "7.22.9", | ||
"@commitlint/cli": "17.6.7", | ||
"@commitlint/config-conventional": "17.6.7", | ||
"@babel/core": "7.24.0", | ||
"@babel/eslint-parser": "7.23.10", | ||
"@commitlint/cli": "19.0.3", | ||
"@commitlint/config-conventional": "19.0.3", | ||
"@rebeccastevens/eslint-config": "2.0.2", | ||
"@rollup/plugin-typescript": "11.1.2", | ||
"@semantic-release/changelog": "6.0.3", | ||
"@semantic-release/commit-analyzer": "10.0.1", | ||
"@semantic-release/commit-analyzer": "11.1.0", | ||
"@semantic-release/git": "10.0.1", | ||
"@semantic-release/github": "9.0.4", | ||
"@semantic-release/npm": "10.0.4", | ||
"@semantic-release/release-notes-generator": "11.0.4", | ||
"@semantic-release/github": "9.2.6", | ||
"@semantic-release/npm": "11.0.3", | ||
"@semantic-release/release-notes-generator": "12.1.0", | ||
"@types/dedent": "0.7.0", | ||
@@ -107,3 +107,3 @@ "@types/eslint": "8.44.2", | ||
"conventional-commit-types": "3.0.0", | ||
"cspell": "6.31.2", | ||
"cspell": "8.4.1", | ||
"dedent": "1.5.1", | ||
@@ -117,3 +117,3 @@ "eslint": "8.46.0", | ||
"eslint-plugin-import": "2.28.0", | ||
"eslint-plugin-jsdoc": "46.4.6", | ||
"eslint-plugin-jsdoc": "48.2.0", | ||
"eslint-plugin-markdown": "3.0.1", | ||
@@ -125,7 +125,7 @@ "eslint-plugin-n": "16.0.1", | ||
"eslint-plugin-sonarjs": "0.19.0", | ||
"eslint-plugin-unicorn": "48.0.1", | ||
"espree": "9.6.1", | ||
"husky": "8.0.3", | ||
"eslint-plugin-unicorn": "51.0.1", | ||
"espree": "10.0.1", | ||
"husky": "9.0.11", | ||
"knip": "2.19.0", | ||
"lint-staged": "13.2.3", | ||
"lint-staged": "15.2.2", | ||
"markdownlint-cli": "0.35.0", | ||
@@ -135,5 +135,5 @@ "prettier": "3.0.1", | ||
"rimraf": "5.0.1", | ||
"rollup": "3.27.2", | ||
"rollup": "4.12.0", | ||
"rollup-plugin-auto-external": "2.0.0", | ||
"semantic-release": "21.0.7", | ||
"semantic-release": "23.0.2", | ||
"semantic-release-replace-plugin": "1.2.7", | ||
@@ -140,0 +140,0 @@ "ts-node": "10.9.1", |
@@ -98,2 +98,3 @@ <div align="center"> | ||
π‘ Manually fixable by [editor suggestions](https://eslint.org/docs/developer-guide/working-with-rules#providing-suggestions).\ | ||
π Requires type information.\ | ||
β Deprecated. | ||
@@ -103,48 +104,48 @@ | ||
| Name | Description | πΌ | β οΈ | π« | π§ | π‘ | β | | ||
| :----------------------------------------------------------- | :----------------------------- | :--------------------------- | :-- | :-- | :-- | :-- | :-- | | ||
| [functional-parameters](docs/rules/functional-parameters.md) | Enforce functional parameters. | βοΈ β π ![badge-currying][] | | | | | | | ||
| Name | Description | πΌ | β οΈ | π« | π§ | π‘ | π | β | | ||
| :----------------------------------------------------------- | :----------------------------- | :--------------------------- | :-- | :-- | :-- | :-- | :-- | :-- | | ||
| [functional-parameters](docs/rules/functional-parameters.md) | Enforce functional parameters. | βοΈ β π ![badge-currying][] | | | | | | | | ||
### No Exceptions | ||
| Name | Description | πΌ | β οΈ | π« | π§ | π‘ | β | | ||
| :------------------------------------------------------- | :----------------------------------------------------- | :-------------------------------- | :-- | :---- | :-- | :-- | :-- | | ||
| [no-promise-reject](docs/rules/no-promise-reject.md) | Disallow try-catch[-finally] and try-finally patterns. | | | | | | | | ||
| [no-throw-statements](docs/rules/no-throw-statements.md) | Disallow throwing exceptions. | βοΈ β π ![badge-no-exceptions][] | | | | | | | ||
| [no-try-statements](docs/rules/no-try-statements.md) | Disallow try-catch[-finally] and try-finally patterns. | π ![badge-no-exceptions][] | | βοΈ β | | | | | ||
| Name | Description | πΌ | β οΈ | π« | π§ | π‘ | π | β | | ||
| :------------------------------------------------------- | :----------------------------------------------------- | :-------------------------------- | :-- | :---- | :-- | :-- | :-- | :-- | | ||
| [no-promise-reject](docs/rules/no-promise-reject.md) | Disallow try-catch[-finally] and try-finally patterns. | | | | | | | | | ||
| [no-throw-statements](docs/rules/no-throw-statements.md) | Disallow throwing exceptions. | βοΈ β π ![badge-no-exceptions][] | | | | | | | | ||
| [no-try-statements](docs/rules/no-try-statements.md) | Disallow try-catch[-finally] and try-finally patterns. | π ![badge-no-exceptions][] | | βοΈ β | | | | | | ||
### No Mutations | ||
| NameΒ Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β | Description | πΌ | β οΈ | π« | π§ | π‘ | β | | ||
| :--------------------------------------------------------------------------- | :-------------------------------------------------------------- | :------------------------------- | :-- | :-- | :-- | :-- | :-- | | ||
| [immutable-data](docs/rules/immutable-data.md) | Enforce treating data as immutable. | βοΈ β π ![badge-no-mutations][] | | | | | | | ||
| [no-let](docs/rules/no-let.md) | Disallow mutable variables. | βοΈ β π ![badge-no-mutations][] | | | | | | | ||
| [prefer-immutable-types](docs/rules/prefer-immutable-types.md) | Require function parameters to be typed as certain immutability | βοΈ β π ![badge-no-mutations][] | | | π§ | π‘ | | | ||
| [prefer-readonly-type](docs/rules/prefer-readonly-type.md) | Prefer readonly types over mutable types. | | | | π§ | | β | | ||
| [type-declaration-immutability](docs/rules/type-declaration-immutability.md) | Enforce the immutability of types based on patterns. | βοΈ β π ![badge-no-mutations][] | | | π§ | | | | ||
| NameΒ Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β | Description | πΌ | β οΈ | π« | π§ | π‘ | π | β | | ||
| :--------------------------------------------------------------------------- | :-------------------------------------------------------------- | :------------------------------- | :-- | :------------------------------ | :-- | :-- | :-- | :-- | | ||
| [immutable-data](docs/rules/immutable-data.md) | Enforce treating data as immutable. | βοΈ β π ![badge-no-mutations][] | | ![badge-disable-type-checked][] | | | π | | | ||
| [no-let](docs/rules/no-let.md) | Disallow mutable variables. | βοΈ β π ![badge-no-mutations][] | | | | | | | | ||
| [prefer-immutable-types](docs/rules/prefer-immutable-types.md) | Require function parameters to be typed as certain immutability | βοΈ β π ![badge-no-mutations][] | | ![badge-disable-type-checked][] | π§ | π‘ | π | | | ||
| [prefer-readonly-type](docs/rules/prefer-readonly-type.md) | Prefer readonly types over mutable types. | | | ![badge-disable-type-checked][] | π§ | | π | β | | ||
| [type-declaration-immutability](docs/rules/type-declaration-immutability.md) | Enforce the immutability of types based on patterns. | βοΈ β π ![badge-no-mutations][] | | ![badge-disable-type-checked][] | π§ | | π | | | ||
### No Other Paradigms | ||
| NameΒ Β Β Β Β Β Β Β Β Β Β Β Β Β Β | Description | πΌ | β οΈ | π« | π§ | π‘ | β | | ||
| :------------------------------------------------------- | :------------------------------------------------------------------------ | :------------------------------------- | :-- | :---- | :-- | :-- | :-- | | ||
| [no-classes](docs/rules/no-classes.md) | Disallow classes. | βοΈ β π ![badge-no-other-paradigms][] | | | | | | | ||
| [no-mixed-types](docs/rules/no-mixed-types.md) | Restrict types so that only members of the same kind are allowed in them. | βοΈ β π ![badge-no-other-paradigms][] | | | | | | | ||
| [no-this-expressions](docs/rules/no-this-expressions.md) | Disallow this access. | π ![badge-no-other-paradigms][] | | βοΈ β | | | | | ||
| NameΒ Β Β Β Β Β Β Β Β Β Β Β Β Β Β | Description | πΌ | β οΈ | π« | π§ | π‘ | π | β | | ||
| :------------------------------------------------------- | :------------------------------------------------------------------------ | :------------------------------------- | :-- | :------------------------------ | :-- | :-- | :-- | :-- | | ||
| [no-classes](docs/rules/no-classes.md) | Disallow classes. | βοΈ β π ![badge-no-other-paradigms][] | | | | | | | | ||
| [no-mixed-types](docs/rules/no-mixed-types.md) | Restrict types so that only members of the same kind are allowed in them. | βοΈ β π ![badge-no-other-paradigms][] | | ![badge-disable-type-checked][] | | | π | | | ||
| [no-this-expressions](docs/rules/no-this-expressions.md) | Disallow this access. | π ![badge-no-other-paradigms][] | | βοΈ β | | | | | | ||
### No Statements | ||
| Name | Description | πΌ | β οΈ | π« | π§ | π‘ | β | | ||
| :------------------------------------------------------------------- | :--------------------------------------------- | :-------------------------------- | :-- | :-- | :-- | :-- | :-- | | ||
| [no-conditional-statements](docs/rules/no-conditional-statements.md) | Disallow conditional statements. | β π ![badge-no-statements][] | | βοΈ | | | | | ||
| [no-expression-statements](docs/rules/no-expression-statements.md) | Disallow expression statements. | β π ![badge-no-statements][] | | βοΈ | | | | | ||
| [no-loop-statements](docs/rules/no-loop-statements.md) | Disallow imperative loops. | βοΈ β π ![badge-no-statements][] | | | | | | | ||
| [no-return-void](docs/rules/no-return-void.md) | Disallow functions that don't return anything. | βοΈ β π ![badge-no-statements][] | | | | | | | ||
| Name | Description | πΌ | β οΈ | π« | π§ | π‘ | π | β | | ||
| :------------------------------------------------------------------- | :--------------------------------------------- | :-------------------------------- | :-- | :--------------------------------- | :-- | :-- | :-- | :-- | | ||
| [no-conditional-statements](docs/rules/no-conditional-statements.md) | Disallow conditional statements. | β π ![badge-no-statements][] | | βοΈ ![badge-disable-type-checked][] | | | π | | | ||
| [no-expression-statements](docs/rules/no-expression-statements.md) | Disallow expression statements. | β π ![badge-no-statements][] | | βοΈ ![badge-disable-type-checked][] | | | π | | | ||
| [no-loop-statements](docs/rules/no-loop-statements.md) | Disallow imperative loops. | βοΈ β π ![badge-no-statements][] | | | | | | | | ||
| [no-return-void](docs/rules/no-return-void.md) | Disallow functions that don't return anything. | βοΈ β π ![badge-no-statements][] | | ![badge-disable-type-checked][] | | | π | | | ||
### Stylistic | ||
| NameΒ Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β | Description | πΌ | β οΈ | π« | π§ | π‘ | β | | ||
| :--------------------------------------------------------------------- | :--------------------------------------------------------------------- | :-- | :-- | :-- | :-- | :-- | :-- | | ||
| [prefer-property-signatures](docs/rules/prefer-property-signatures.md) | Prefer property signatures over method signatures. | π¨ | | | | | | | ||
| [prefer-tacit](docs/rules/prefer-tacit.md) | Replaces `x => f(x)` with just `f`. | | π¨ | | | π‘ | | | ||
| [readonly-type](docs/rules/readonly-type.md) | Require consistently using either `readonly` keywords or `Readonly<T>` | π¨ | | | π§ | | | | ||
| NameΒ Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β | Description | πΌ | β οΈ | π« | π§ | π‘ | π | β | | ||
| :--------------------------------------------------------------------- | :--------------------------------------------------------------------- | :-- | :-- | :------------------------------ | :-- | :-- | :-- | :-- | | ||
| [prefer-property-signatures](docs/rules/prefer-property-signatures.md) | Prefer property signatures over method signatures. | π¨ | | ![badge-disable-type-checked][] | | | π | | | ||
| [prefer-tacit](docs/rules/prefer-tacit.md) | Replaces `x => f(x)` with just `f`. | | π¨ | ![badge-disable-type-checked][] | | π‘ | π | | | ||
| [readonly-type](docs/rules/readonly-type.md) | Require consistently using either `readonly` keywords or `Readonly<T>` | π¨ | | ![badge-disable-type-checked][] | π§ | | π | | | ||
@@ -151,0 +152,0 @@ <!-- end auto-generated rules list --> |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
285195
8210
191