@singlepixellab/eslint-config 2.2.1 → 2.2.2
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 -3
- package/package.json +2 -1
- package/rules/imports.js +6 -10
- package/rules/react.js +1 -1
package/eslint.config.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import ignores from "./rules/ignores.js";
|
|
2
1
|
import core from "./rules/core.js";
|
|
2
|
+
import ignores from "./rules/ignores.js";
|
|
3
3
|
import imports from "./rules/imports.js";
|
|
4
|
-
import react from "./rules/react.js";
|
|
5
|
-
import prettier from "./rules/prettier.js";
|
|
6
4
|
import jsdoc from "./rules/jsdoc.js";
|
|
5
|
+
import prettier from "./rules/prettier.js";
|
|
6
|
+
import react from "./rules/react.js";
|
|
7
7
|
import styles from "./rules/styles.js";
|
|
8
8
|
import typescript from "./rules/typescript.js";
|
|
9
9
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@singlepixellab/eslint-config",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.2",
|
|
4
4
|
"description": "The ESLint rules and configs used by Single Pixel Lab",
|
|
5
5
|
"author": "Single Pixel Lab",
|
|
6
6
|
"keywords": [
|
|
@@ -77,6 +77,7 @@
|
|
|
77
77
|
"@eslint/js": "^9.39.4",
|
|
78
78
|
"@stylistic/eslint-plugin": "^5.10.0",
|
|
79
79
|
"eslint-config-prettier": "^10.1.8",
|
|
80
|
+
"eslint-import-resolver-node": "^0.3.10",
|
|
80
81
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
81
82
|
"eslint-plugin-import": "^2.32.0",
|
|
82
83
|
"eslint-plugin-jsdoc": "^62.7.1",
|
package/rules/imports.js
CHANGED
|
@@ -78,7 +78,6 @@ export default [
|
|
|
78
78
|
enabled: true,
|
|
79
79
|
types: "types-last",
|
|
80
80
|
},
|
|
81
|
-
"sortTypesGroup": true,
|
|
82
81
|
"pathGroups": [
|
|
83
82
|
{
|
|
84
83
|
pattern: "~*/**",
|
|
@@ -87,15 +86,12 @@ export default [
|
|
|
87
86
|
},
|
|
88
87
|
],
|
|
89
88
|
"groups": [
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
"index",
|
|
97
|
-
"type",
|
|
98
|
-
],
|
|
89
|
+
"builtin",
|
|
90
|
+
"external",
|
|
91
|
+
"internal",
|
|
92
|
+
"parent",
|
|
93
|
+
"sibling",
|
|
94
|
+
"index",
|
|
99
95
|
],
|
|
100
96
|
},
|
|
101
97
|
],
|
package/rules/react.js
CHANGED