Skip to content

Releases: stylelint/eslint-config-stylelint

23.0.0

27 Oct 14:03
Compare
Choose a tag to compare
  • Removed: Node.js less than 18.18 support
  • Removed: ESLint 8.x support
  • Added: ESLint 9.x support

22.0.0

17 Jul 12:47
f80257c
Compare
Choose a tag to compare
  • 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 in package.json.

21.0.0

01 Feb 11:35
70fa334
Compare
Choose a tag to compare
  • Removed: Node.js 16 support.
  • Changed: bump eslint-plugin-regexp from v1 to v2.
  • Changed: parserOptions.ecmaVersion from 2021 to 2023.

20.0.0

17 Aug 07:26
65fa677
Compare
Choose a tag to compare
  • Added: n/prefer-global/process rule.

19.1.0

27 Jul 06:44
6251f2a
Compare
Choose a tag to compare
  • Added: rules for ESM files.

19.0.0

13 Jun 03:40
7bacc60
Compare
Choose a tag to compare
  • Removed: Node.js 14 support.
  • Changed: migrate from eslint-plugin-node to eslint-plugin-n.
  • Changed: parserOptions.ecmaVersion from 2020 to 2021.

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

10 Feb 12:45
553d0f0
Compare
Choose a tag to compare
  • 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" to extends in your ESlint config like this:
{
-  "extends": ["stylelint"]
+  "extends": ["stylelint", "stylelint/jest"]
}

17.1.0

01 Dec 13:38
c539987
Compare
Choose a tag to compare
  • Changed: parserOptions.ecmaVersion from 2019 to 2020.

17.0.0

30 Sep 09:13
e27e2a3
Compare
Choose a tag to compare
  • Added: func-names rule.

16.0.0

05 Sep 07:53
356f376
Compare
Choose a tag to compare
  • Removed: support for Node.js v12 (due to breaking change in eslint-plugin-jest).
  • Changed: bump eslint-plugin-jest from v26 to v27.