@willbooster/eslint-config-js 11.0.3 → 11.2.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 +9 -7
package/README.md
CHANGED
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';
|
|
@@ -15,6 +16,7 @@ export default [
|
|
|
15
16
|
{
|
|
16
17
|
ignores: [
|
|
17
18
|
// Directories
|
|
19
|
+
'**/.venv/**',
|
|
18
20
|
'**/.yarn/**',
|
|
19
21
|
'**/3rd-party/**',
|
|
20
22
|
'**/@types/**',
|
|
@@ -119,6 +121,7 @@ export default [
|
|
|
119
121
|
],
|
|
120
122
|
},
|
|
121
123
|
},
|
|
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.2.0",
|
|
4
4
|
"description": "A ESLint flat config for JavaScript projects",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "WillBooster Inc.",
|
|
@@ -19,17 +19,18 @@
|
|
|
19
19
|
},
|
|
20
20
|
"prettier": "@willbooster/prettier-config",
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@eslint/js": "9.
|
|
22
|
+
"@eslint/js": "9.23.0",
|
|
23
23
|
"@willbooster/prettier-config": "10.0.0",
|
|
24
|
-
"eslint": "9.
|
|
25
|
-
"eslint-config-
|
|
26
|
-
"eslint-
|
|
24
|
+
"eslint": "9.23.0",
|
|
25
|
+
"eslint-config-flat-gitignore": "2.1.0",
|
|
26
|
+
"eslint-config-prettier": "10.1.1",
|
|
27
|
+
"eslint-plugin-import-x": "4.9.3",
|
|
27
28
|
"eslint-plugin-sort-class-members": "1.21.0",
|
|
28
29
|
"eslint-plugin-sort-destructure-keys": "2.0.0",
|
|
29
|
-
"eslint-plugin-unicorn": "
|
|
30
|
+
"eslint-plugin-unicorn": "58.0.0",
|
|
30
31
|
"eslint-plugin-unused-imports": "4.1.4",
|
|
31
32
|
"globals": "16.0.0",
|
|
32
|
-
"lint-staged": "15.
|
|
33
|
+
"lint-staged": "15.5.0",
|
|
33
34
|
"micromatch": "4.0.8",
|
|
34
35
|
"prettier": "3.5.3",
|
|
35
36
|
"sort-package-json": "3.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",
|