@willbooster/eslint-config-js-react 11.2.0 → 11.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/eslint.config.js +3 -0
- package/package.json +13 -10
package/README.md
CHANGED
|
@@ -11,6 +11,7 @@ yarn add -D @willbooster/eslint-config-js-react \
|
|
|
11
11
|
eslint-plugin-import-x \
|
|
12
12
|
eslint-plugin-prettier \
|
|
13
13
|
eslint-plugin-react \
|
|
14
|
+
eslint-plugin-react-compiler \
|
|
14
15
|
eslint-plugin-react-hooks \
|
|
15
16
|
eslint-plugin-sort-class-members \
|
|
16
17
|
eslint-plugin-sort-destructure-keys \
|
package/eslint.config.js
CHANGED
|
@@ -2,6 +2,7 @@ import jsConfig from '@willbooster/eslint-config-js';
|
|
|
2
2
|
import eslintConfigFlatGitignore from 'eslint-config-flat-gitignore';
|
|
3
3
|
import eslintConfigPrettier from 'eslint-config-prettier';
|
|
4
4
|
import eslintPluginReact from 'eslint-plugin-react';
|
|
5
|
+
import eslintPluginReactCompiler from 'eslint-plugin-react-compiler';
|
|
5
6
|
import eslintPluginReactHooks from 'eslint-plugin-react-hooks';
|
|
6
7
|
|
|
7
8
|
export default [
|
|
@@ -14,6 +15,8 @@ export default [
|
|
|
14
15
|
eslintPluginReact.configs.flat['jsx-runtime'],
|
|
15
16
|
// cf. https://github.com/facebook/react/tree/main/packages/eslint-plugin-react-hooks#flat-config-eslintconfigjsts
|
|
16
17
|
eslintPluginReactHooks.configs['recommended-latest'],
|
|
18
|
+
// cf. https://www.npmjs.com/package/eslint-plugin-react-compiler
|
|
19
|
+
eslintPluginReactCompiler.configs.recommended,
|
|
17
20
|
{
|
|
18
21
|
settings: {
|
|
19
22
|
react: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@willbooster/eslint-config-js-react",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.3.0",
|
|
4
4
|
"description": "A ESLint flat config for JavaScript projects using React",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "WillBooster Inc.",
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"eslint.config.js"
|
|
11
11
|
],
|
|
12
12
|
"scripts": {
|
|
13
|
+
"check-for-ai": "yarn install > /dev/null && yarn format > /dev/null && yarn lint-fix --quiet && yarn typecheck && yarn test --silent",
|
|
13
14
|
"cleanup": "yarn format && yarn lint-fix",
|
|
14
15
|
"format": "sort-package-json && yarn prettify",
|
|
15
16
|
"lint": "eslint --color",
|
|
@@ -22,24 +23,25 @@
|
|
|
22
23
|
"@willbooster/eslint-config-js": "11.2.0"
|
|
23
24
|
},
|
|
24
25
|
"devDependencies": {
|
|
25
|
-
"@eslint/js": "9.
|
|
26
|
+
"@eslint/js": "9.28.0",
|
|
26
27
|
"@willbooster/prettier-config": "10.0.0",
|
|
27
|
-
"eslint": "9.
|
|
28
|
+
"eslint": "9.27.0",
|
|
28
29
|
"eslint-config-flat-gitignore": "2.1.0",
|
|
29
|
-
"eslint-config-prettier": "10.1.
|
|
30
|
-
"eslint-plugin-import-x": "4.
|
|
31
|
-
"eslint-plugin-react": "7.37.
|
|
30
|
+
"eslint-config-prettier": "10.1.5",
|
|
31
|
+
"eslint-plugin-import-x": "4.15.0",
|
|
32
|
+
"eslint-plugin-react": "7.37.5",
|
|
33
|
+
"eslint-plugin-react-compiler": "19.1.0-rc.2",
|
|
32
34
|
"eslint-plugin-react-hooks": "5.2.0",
|
|
33
35
|
"eslint-plugin-sort-class-members": "1.21.0",
|
|
34
36
|
"eslint-plugin-sort-destructure-keys": "2.0.0",
|
|
35
|
-
"eslint-plugin-unicorn": "
|
|
37
|
+
"eslint-plugin-unicorn": "59.0.1",
|
|
36
38
|
"eslint-plugin-unused-imports": "4.1.4",
|
|
37
|
-
"globals": "16.
|
|
38
|
-
"lint-staged": "
|
|
39
|
+
"globals": "16.2.0",
|
|
40
|
+
"lint-staged": "16.1.0",
|
|
39
41
|
"micromatch": "4.0.8",
|
|
40
42
|
"prettier": "3.5.3",
|
|
41
43
|
"react": "19.1.0",
|
|
42
|
-
"sort-package-json": "3.
|
|
44
|
+
"sort-package-json": "3.2.1"
|
|
43
45
|
},
|
|
44
46
|
"peerDependencies": {
|
|
45
47
|
"@eslint/js": ">=9",
|
|
@@ -48,6 +50,7 @@
|
|
|
48
50
|
"eslint-config-prettier": ">=10",
|
|
49
51
|
"eslint-plugin-import-x": ">=4",
|
|
50
52
|
"eslint-plugin-react": ">=7",
|
|
53
|
+
"eslint-plugin-react-compiler": ">=19",
|
|
51
54
|
"eslint-plugin-react-hooks": ">=5",
|
|
52
55
|
"eslint-plugin-sort-class-members": ">=1.21",
|
|
53
56
|
"eslint-plugin-sort-destructure-keys": ">=2",
|