@willbooster/eslint-config-js 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 +5 -3
package/eslint.config.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import js from '@eslint/js';
|
|
2
|
+
import eslintConfigFlatGitignore from 'eslint-config-flat-gitignore';
|
|
2
3
|
import eslintConfigPrettier from 'eslint-config-prettier';
|
|
3
4
|
import eslintPluginImportX from 'eslint-plugin-import-x';
|
|
4
5
|
import eslintPluginSortClassMembers from 'eslint-plugin-sort-class-members';
|
|
@@ -119,6 +120,8 @@ export default [
|
|
|
119
120
|
],
|
|
120
121
|
},
|
|
121
122
|
},
|
|
123
|
+
// Add eslint-config-flat-gitignore before eslintConfigPrettier
|
|
124
|
+
eslintConfigFlatGitignore(),
|
|
122
125
|
// cf. https://github.com/prettier/eslint-config-prettier#installation
|
|
123
126
|
eslintConfigPrettier,
|
|
124
127
|
];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@willbooster/eslint-config-js",
|
|
3
|
-
"version": "11.0
|
|
3
|
+
"version": "11.1.0",
|
|
4
4
|
"description": "A ESLint flat config for JavaScript projects",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "WillBooster Inc.",
|
|
@@ -19,10 +19,11 @@
|
|
|
19
19
|
},
|
|
20
20
|
"prettier": "@willbooster/prettier-config",
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@eslint/js": "9.
|
|
22
|
+
"@eslint/js": "9.22.0",
|
|
23
23
|
"@willbooster/prettier-config": "10.0.0",
|
|
24
24
|
"eslint": "9.21.0",
|
|
25
|
-
"eslint-config-
|
|
25
|
+
"eslint-config-flat-gitignore": "2.1.0",
|
|
26
|
+
"eslint-config-prettier": "10.1.1",
|
|
26
27
|
"eslint-plugin-import-x": "4.6.1",
|
|
27
28
|
"eslint-plugin-sort-class-members": "1.21.0",
|
|
28
29
|
"eslint-plugin-sort-destructure-keys": "2.0.0",
|
|
@@ -37,6 +38,7 @@
|
|
|
37
38
|
"peerDependencies": {
|
|
38
39
|
"@eslint/js": ">=9",
|
|
39
40
|
"eslint": ">=9",
|
|
41
|
+
"eslint-config-flat-gitignore": ">=2.1",
|
|
40
42
|
"eslint-config-prettier": ">=10",
|
|
41
43
|
"eslint-plugin-import-x": ">=4",
|
|
42
44
|
"eslint-plugin-sort-class-members": ">=1.21",
|