eslint-config-arklint 3.2.0 → 3.3.1
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/cjs/extensions/import.cjs +3 -1
- package/extensions/import.mjs +10 -4
- package/package.json +11 -11
|
@@ -15,12 +15,14 @@ module.exports = [importPlugin.flatConfigs.recommended, {
|
|
|
15
15
|
"import/no-amd": "error",
|
|
16
16
|
"import/no-webpack-loader-syntax": "error",
|
|
17
17
|
"import/no-unresolved": ["error", {
|
|
18
|
+
ignore: ["router/dom"],
|
|
18
19
|
commonjs: true
|
|
19
20
|
}],
|
|
20
21
|
"perfectionist/sort-exports": "warn",
|
|
22
|
+
"perfectionist/sort-named-exports": "warn",
|
|
21
23
|
"perfectionist/sort-named-imports": "warn",
|
|
22
24
|
"perfectionist/sort-imports": ["warn", {
|
|
23
|
-
groups: [
|
|
25
|
+
groups: ["type", "unknown", "builtin", "external", "internal", "parent", ["index", "sibling", "style"]]
|
|
24
26
|
}]
|
|
25
27
|
}
|
|
26
28
|
}];
|
package/extensions/import.mjs
CHANGED
|
@@ -18,16 +18,22 @@ export default [
|
|
|
18
18
|
"import/first": "error",
|
|
19
19
|
"import/no-amd": "error",
|
|
20
20
|
"import/no-webpack-loader-syntax": "error",
|
|
21
|
-
"import/no-unresolved": ["error", {
|
|
21
|
+
"import/no-unresolved": ["error", {
|
|
22
|
+
ignore: ["router/dom"],
|
|
23
|
+
commonjs: true
|
|
24
|
+
}],
|
|
22
25
|
"perfectionist/sort-exports": "warn",
|
|
26
|
+
"perfectionist/sort-named-exports": "warn",
|
|
23
27
|
"perfectionist/sort-named-imports": "warn",
|
|
24
28
|
"perfectionist/sort-imports": ["warn", {
|
|
25
29
|
groups: [
|
|
26
|
-
|
|
30
|
+
"type",
|
|
31
|
+
"unknown",
|
|
32
|
+
"builtin",
|
|
33
|
+
"external",
|
|
27
34
|
"internal",
|
|
28
35
|
"parent",
|
|
29
|
-
["index", "sibling", "style"]
|
|
30
|
-
"unknown"
|
|
36
|
+
["index", "sibling", "style"]
|
|
31
37
|
]
|
|
32
38
|
}]
|
|
33
39
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-arklint",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.3.1",
|
|
4
4
|
"author": "Arkellys",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -35,23 +35,23 @@
|
|
|
35
35
|
"@babel/core": "^7.26.0",
|
|
36
36
|
"@babel/eslint-parser": "^7.25.9",
|
|
37
37
|
"@babel/preset-env": "^7.26.0",
|
|
38
|
-
"@babel/preset-react": "^7.
|
|
39
|
-
"@eslint/js": "^9.
|
|
40
|
-
"@stylistic/eslint-plugin-js": "^2.
|
|
38
|
+
"@babel/preset-react": "^7.26.3",
|
|
39
|
+
"@eslint/js": "^9.16.0",
|
|
40
|
+
"@stylistic/eslint-plugin-js": "^2.11.0",
|
|
41
41
|
"eslint-plugin-import": "^2.31.0",
|
|
42
|
-
"eslint-plugin-jsdoc": "^50.
|
|
42
|
+
"eslint-plugin-jsdoc": "^50.6.0",
|
|
43
43
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
44
|
-
"eslint-plugin-perfectionist": "^
|
|
44
|
+
"eslint-plugin-perfectionist": "^4.2.0",
|
|
45
45
|
"eslint-plugin-react": "^7.37.2",
|
|
46
|
-
"eslint-plugin-react-hooks": "^5.
|
|
47
|
-
"globals": "^15.
|
|
46
|
+
"eslint-plugin-react-hooks": "^5.1.0",
|
|
47
|
+
"globals": "^15.13.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@babel/cli": "^7.
|
|
50
|
+
"@babel/cli": "^7.26.4",
|
|
51
51
|
"babel-plugin-transform-esm-to-cjs": "^0.0.0",
|
|
52
52
|
"babel-plugin-transform-import-extension": "^1.0.3",
|
|
53
|
-
"eslint": "^9.
|
|
54
|
-
"husky": "^9.1.
|
|
53
|
+
"eslint": "^9.16.0",
|
|
54
|
+
"husky": "^9.1.7"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
57
57
|
"eslint": ">=9.0.0"
|