Releases: stylelint/eslint-config-stylelint
Releases · stylelint/eslint-config-stylelint
23.0.0
22.0.0
- 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
.
21.0.0
- Removed: Node.js 16 support.
- Changed: bump
eslint-plugin-regexp
from v1 to v2. - Changed:
parserOptions.ecmaVersion
from2021
to2023
.
20.0.0
- Added:
n/prefer-global/process
rule.
19.1.0
- Added: rules for ESM files.
19.0.0
- 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.
18.0.0
- 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 notice: 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"]
}
17.1.0
- Changed:
parserOptions.ecmaVersion
from2019
to2020
.
17.0.0
- Added:
func-names
rule.
16.0.0
- Removed: support for Node.js v12 (due to breaking change in
eslint-plugin-jest
). - Changed: bump
eslint-plugin-jest
from v26 to v27.