@willbooster/eslint-config-js-react 11.0.3 → 11.1.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/eslint.config.js +3 -0
- package/package.json +6 -4
package/eslint.config.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import jsConfig from '@willbooster/eslint-config-js';
|
|
2
|
+
import eslintConfigFlatGitignore from 'eslint-config-flat-gitignore';
|
|
2
3
|
import eslintConfigPrettier from 'eslint-config-prettier';
|
|
3
4
|
import eslintPluginReact from 'eslint-plugin-react';
|
|
4
5
|
import eslintPluginReactHooks from 'eslint-plugin-react-hooks';
|
|
@@ -37,6 +38,8 @@ export default [
|
|
|
37
38
|
'react/prop-types': 'off',
|
|
38
39
|
},
|
|
39
40
|
},
|
|
41
|
+
// Add eslint-config-flat-gitignore before eslintConfigPrettier
|
|
42
|
+
eslintConfigFlatGitignore(),
|
|
40
43
|
// cf. https://github.com/prettier/eslint-config-prettier#installation
|
|
41
44
|
eslintConfigPrettier,
|
|
42
45
|
];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@willbooster/eslint-config-js-react",
|
|
3
|
-
"version": "11.0
|
|
3
|
+
"version": "11.1.0",
|
|
4
4
|
"description": "A ESLint flat config for JavaScript projects using React",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "WillBooster Inc.",
|
|
@@ -19,13 +19,14 @@
|
|
|
19
19
|
},
|
|
20
20
|
"prettier": "@willbooster/prettier-config",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@willbooster/eslint-config-js": "11.0
|
|
22
|
+
"@willbooster/eslint-config-js": "11.1.0"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@eslint/js": "9.
|
|
25
|
+
"@eslint/js": "9.22.0",
|
|
26
26
|
"@willbooster/prettier-config": "10.0.0",
|
|
27
27
|
"eslint": "9.21.0",
|
|
28
|
-
"eslint-config-
|
|
28
|
+
"eslint-config-flat-gitignore": "2.1.0",
|
|
29
|
+
"eslint-config-prettier": "10.1.1",
|
|
29
30
|
"eslint-plugin-import-x": "4.6.1",
|
|
30
31
|
"eslint-plugin-react": "7.37.4",
|
|
31
32
|
"eslint-plugin-react-hooks": "5.2.0",
|
|
@@ -43,6 +44,7 @@
|
|
|
43
44
|
"peerDependencies": {
|
|
44
45
|
"@eslint/js": ">=9",
|
|
45
46
|
"eslint": ">=9",
|
|
47
|
+
"eslint-config-flat-gitignore": ">=2.1",
|
|
46
48
|
"eslint-config-prettier": ">=10",
|
|
47
49
|
"eslint-plugin-import-x": ">=4",
|
|
48
50
|
"eslint-plugin-react": ">=7",
|