Releases: stylelint/eslint-config-stylelint
Releases · stylelint/eslint-config-stylelint
21.0.0
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.
15.1.0
- Changed: bump
eslint-plugin-jest
from v25 to v26.