@firefoxic/eslint-config 7.0.0 → 8.0.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/lib/index.js +6 -6
- package/package.json +7 -7
package/lib/index.js
CHANGED
|
@@ -139,25 +139,25 @@ export default [
|
|
|
139
139
|
`error`,
|
|
140
140
|
{
|
|
141
141
|
groups: [
|
|
142
|
-
// 1.Node.js modules
|
|
142
|
+
// 1. Node.js modules
|
|
143
143
|
[`^node:`],
|
|
144
144
|
// 2. Foreign modules
|
|
145
145
|
[`^@?\\w`],
|
|
146
|
-
// 3.
|
|
146
|
+
// 3. Styles
|
|
147
|
+
[`^.+\\.s?css$`],
|
|
148
|
+
// 4. Absolute imports (@/...)
|
|
147
149
|
[`^@/`],
|
|
148
|
-
//
|
|
150
|
+
// 5. Relative imports (up)
|
|
149
151
|
[
|
|
150
152
|
`^\\.\\.(?!/?$)`,
|
|
151
153
|
`^\\.\\./?$`,
|
|
152
154
|
],
|
|
153
|
-
//
|
|
155
|
+
// 6. Relative imports (down)
|
|
154
156
|
[
|
|
155
157
|
`^\\./(?=.*/)(?!/?$)`,
|
|
156
158
|
`^\\.(?!/?$)`,
|
|
157
159
|
`^\\./?$`,
|
|
158
160
|
],
|
|
159
|
-
// 6. Styles
|
|
160
|
-
[`^.+\\.s?css$`],
|
|
161
161
|
],
|
|
162
162
|
},
|
|
163
163
|
],
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@firefoxic/eslint-config",
|
|
3
3
|
"description": "Shared config for eslint by firefoxic.",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "8.0.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Sergey Artemov",
|
|
@@ -17,7 +17,8 @@
|
|
|
17
17
|
},
|
|
18
18
|
"type": "module",
|
|
19
19
|
"engines": {
|
|
20
|
-
"node": ">=20.19"
|
|
20
|
+
"node": ">=20.19",
|
|
21
|
+
"pnpm": ">=10.30"
|
|
21
22
|
},
|
|
22
23
|
"exports": {
|
|
23
24
|
"default": "./lib/index.js",
|
|
@@ -32,17 +33,16 @@
|
|
|
32
33
|
"eslint": "^10.0.0"
|
|
33
34
|
},
|
|
34
35
|
"dependencies": {
|
|
35
|
-
"@stylistic/eslint-plugin": "^5.
|
|
36
|
+
"@stylistic/eslint-plugin": "^5.9.0",
|
|
36
37
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
37
38
|
"globals": "^17.3.0"
|
|
38
39
|
},
|
|
39
40
|
"scripts": {
|
|
40
|
-
"help": "make help"
|
|
41
|
-
"eslint": "eslint"
|
|
41
|
+
"help": "make help"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@typescript-eslint/parser": "^8.
|
|
45
|
-
"eslint": "^10.0.
|
|
44
|
+
"@typescript-eslint/parser": "^8.56.1",
|
|
45
|
+
"eslint": "^10.0.2"
|
|
46
46
|
},
|
|
47
47
|
"keywords": [
|
|
48
48
|
"config",
|