- Removed: Node.js less than 18.18 support
- Removed: ESLint 8.x support
- Added: ESLint 9.x support
- Removed:
no-confusing-arrow
because of the deprecation of formatting rules. - Changed: replace deprecated
padding-line-between-statements
with@stylistic/js/padding-line-between-statements
. - Changed: bump
eslint-plugin-jest
from v27 to v28. - Changed: bump
eslint-plugin-n
from v16 to v17. - Fixed: missing
funding
field inpackage.json
.
- Removed: Node.js 16 support.
- Changed: bump
eslint-plugin-regexp
from v1 to v2. - Changed:
parserOptions.ecmaVersion
from2021
to2023
.
- Added:
n/prefer-global/process
rule.
- Added: rules for ESM files.
- Removed: Node.js 14 support.
- Changed: migrate from
eslint-plugin-node
toeslint-plugin-n
. - Changed:
parserOptions.ecmaVersion
from2020
to2021
.
Migration note: You may need to rewrite rule names for eslint-plugin-node
like this:
-// eslint-disable-next-line node/no-extraneous-import
+// eslint-disable-next-line n/no-extraneous-import
See also the eslint-plugin-n
document.
- Removed: Jest rules from the default config.
- Changed:
eslint-plugin-jest
to optional peer dependencies. - Added: Jest only config
"stylelint/jest"
. - Added:
eslint
to peer dependencies.
Migration note: if you want to continue Jest rules, you need to:
- run
npm install eslint-plugin-jest --save-dev
- add
"stylelint/jest"
toextends
in your ESlint config like this:
{
- "extends": ["stylelint"]
+ "extends": ["stylelint", "stylelint/jest"]
}
- Changed:
parserOptions.ecmaVersion
from2019
to2020
.
- Added:
func-names
rule.
- Removed: support for Node.js v12 (due to breaking change in
eslint-plugin-jest
). - Changed: bump
eslint-plugin-jest
from v26 to v27.
- Changed: bump
eslint-plugin-jest
from v25 to v26.
- Changed: bump
eslint-plugin-jest
from v24 to v25. - Removed:
eslint-plugin-eslint-comments
plugin.
- Added: ESM support.
- Added:
eslint-plugin-regexp
plugin. - Removed:
eslint-plugin-sort-requires
plugin.
- Fixed:
node/no-unsupported-feature
range.
- Added:
allow
option tono-console
rule.
- Added:
no-shadow
rule.
- Changed: bump
eslint-plugin-jest
from v23 to v24.
- Removed:
prefer-const
. - Changed:
ecmaVersion
to2019
. - Changed:
eqeqeq
rule tosmart
. - Added: new rules.
- Added:
eslint-config-prettier
.
- Fixed: add the
no-console
rule that was removed fromeslint/recommended
in ESLint v6.
- Added:
eslint-plugin-eslint-comments
ESLint plugin usingeslint-comments/recommended
rules.
- Added:
eslint-plugin-jest
ESLint pluginjest/style
rules.
- Added:
jest/no-alias-methods
Jest rule. #56 - Added:
jest/prefer-to-be-null
Jest rule. #56 - Added:
jest/prefer-to-be-undefined
Jest rule. #56 - Added:
jest/prefer-to-contain
Jest rule. #56 - Added:
jest/valid-expect-in-promise
Jest rule. #56 - Added:
padding-line-between-statements
rule. #55
- Changed:
eslint-plugin-jest
rules toerror
- Added:
eslint-plugin-jest
ESLint plugin.
- Added:
one-var
rule.
- Added:
eslint-plugin-node
ESLint plugin usingnode/recommended
rules.
- Removed: stylistic rules.
- Added: eslint
4.0.0
compatibility.
- Added: rules and parse options for
node@4
compatibility. - Removed:
spaced-comment
rules to support flow.
- Added:
padded-blocks
rule.
- Added:
no-multi-spaces
rule.
- Added: eslint
3.0.0
compatibility. - Removed: eslint
2.0.0
compatibility.
- Added: rules for consistent whitespace.
- Added: eslint
2.0
compatibility. - Removed: eslint
1.0
compatibility.
- Initial release.