Socket
Socket
Sign inDemoInstall

eslint-plugin-functional

Package Overview
Dependencies
Maintainers
2
Versions
118
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-functional - npm Package Compare versions

Comparing version 6.0.1 to 6.1.0

34

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚑️ by Socket Inc