Skip to content

Releases: stylelint/eslint-config-stylelint

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.

15.1.0

02 May 12:46
8c8e510
Compare
Choose a tag to compare
  • Changed: bump eslint-plugin-jest from v25 to v26.

15.0.0

02 Nov 01:16
Compare
Choose a tag to compare
  • Changed: bump eslint-plugin-jest from v24 to v25.
  • Removed: eslint-plugin-eslint-comments plugin.