You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+33-36Lines changed: 33 additions & 36 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,10 @@ Extended short-key rule to handle shorthand properties as ESLint doesn't want to
4
4
5
5
-https://github.com/eslint/eslint/issues/7543
6
6
7
+
# ESLint 9+ Support
8
+
9
+
This plugin is compatible with **ESLint 9 and above**. If you are using ESLint 9+, please use the new [flat config](https://eslint.org/docs/latest/use/configure/configuration-files-new) format as shown below.
10
+
7
11
# Installation
8
12
9
13
Install [ESLint](https://www.github.com/eslint/eslint) either locally or globally. (Note that locally, per project, is strongly preferred)
@@ -12,50 +16,43 @@ Install [ESLint](https://www.github.com/eslint/eslint) either locally or globall
12
16
$ npm install eslint --save-dev
13
17
```
14
18
15
-
If you installed `ESLint` globally, you have to install React plugin globally too. Otherwise, install it locally.
19
+
If you installed `ESLint` globally, you have to install this plugin globally too. Otherwise, install it locally.
If you are migrating from `.eslintrc` to flat config, move your plugin and rule configuration as shown above. The old `.eslintrc` format is no longer recommended for ESLint 9+.
0 commit comments