Releases: eslint-functional/eslint-plugin-functional
Releases · eslint-functional/eslint-plugin-functional
v4.1.1-beta.1
v4.1.0
v4.0.2
v4.0.1
v4.0.0
4.0.0 (2021-10-17)
Bug Fixes
- bring rule meta data "recommended" into line with the recommend config (3c4a042)
chore
- remove deprecated rule: prefer-type-literal (3a54331)
- remove deprecated stylitic ruleset (2b96760)
- update minimum required node version to 12 (97acb3f)
Features
- add an off preset (686b7fe)
- add stylistic rules to lite and recommended rule sets (b81b4c7)
- external-recommended: update recommended external rules (353acb3)
- no-return-void: implicit types are now checked by default (2adbe14)
- prefer-tacit: disable prefer-tacit by default in recommended and lite configs (6f9204d)
BREAKING CHANGES
- no-return-void: implicit types are now checked by default
- external-recommended: update recommended external rules
- rule "prefer-type-literal" has been removed.
- removed stylitic ruleset in favor of stylistic ruleset
- Node ^12.22.0 or ^14.17.0 or >=16.0.0 is now required
v3.0.0
Breaking Changes
Node 8 no longer supported.
Minimum support node version is now: 10.18.0
v2.0.0
Changes of note
- External recommended eslint rules are no longer included in rulesets by default; they now live in their own ruleset call
external-recommended
.
Example of how to use:
{
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "functional"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:functional/external-recommended", // loaded here.
"plugin:functional/recommended"
],
"parserOptions": {
"project": "tsconfig.json",
"sourceType": "module"
}
}
- The lite ruleset will no longer enforce a minimal parameter count (with regard to rule
functional-parameters
). See #79 for details.