Skip to content

Releases: eslint-functional/eslint-plugin-functional

v4.1.1-beta.1

08 Jan 06:25
Compare
Choose a tag to compare
v4.1.1-beta.1 Pre-release
Pre-release

4.1.1-beta.1 (2022-01-08)

Bug Fixes

  • rules having broken links to docs (07f09b7), closes #292

v4.1.0

08 Jan 04:03
Compare
Choose a tag to compare

4.1.0 (2022-01-08)

Features

  • no-let: add option to allow lets inside of for loop initializers (#306) (71769f3)

v4.0.2

24 Oct 12:56
Compare
Choose a tag to compare

4.0.2 (2021-10-24)

Bug Fixes

  • get the coorect identifier text of values in object expressions (#285) (a267af6)
  • off config no longer contains "overrides" (#286) (5ad533d)

v4.0.1

24 Oct 07:18
Compare
Choose a tag to compare

4.0.1 (2021-10-24)

Bug Fixes

  • ignore pattern - "id" and "key" values are only used if defined (77d6dd6)

v4.0.0

17 Oct 05:38
Compare
Choose a tag to compare

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

11 Jan 13:35
Compare
Choose a tag to compare

Breaking Changes

Node 8 no longer supported.
Minimum support node version is now: 10.18.0

v2.0.0

29 Dec 04:33
Compare
Choose a tag to compare

Changes of note

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.