eslint-config-decent 2.8.18 → 2.8.20
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/dist/index.cjs +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +2 -2
- package/src/import.ts +1 -0
package/dist/index.cjs
CHANGED
|
@@ -386,7 +386,8 @@ const base$c = {
|
|
|
386
386
|
{
|
|
387
387
|
"newlines-between": "always",
|
|
388
388
|
alphabetize: { order: "asc", caseInsensitive: true },
|
|
389
|
-
pathGroupsExcludedImportTypes: ["builtin"]
|
|
389
|
+
pathGroupsExcludedImportTypes: ["builtin"],
|
|
390
|
+
groups: ["builtin", "external", "internal", "parent", "sibling", "index"]
|
|
390
391
|
}
|
|
391
392
|
]
|
|
392
393
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -362,7 +362,8 @@ const base$c = {
|
|
|
362
362
|
{
|
|
363
363
|
"newlines-between": "always",
|
|
364
364
|
alphabetize: { order: "asc", caseInsensitive: true },
|
|
365
|
-
pathGroupsExcludedImportTypes: ["builtin"]
|
|
365
|
+
pathGroupsExcludedImportTypes: ["builtin"],
|
|
366
|
+
groups: ["builtin", "external", "internal", "parent", "sibling", "index"]
|
|
366
367
|
}
|
|
367
368
|
]
|
|
368
369
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-decent",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.20",
|
|
4
4
|
"description": "A decent ESLint configuration",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
"@semantic-release/github": "11.0.3",
|
|
97
97
|
"@semantic-release/npm": "12.0.1",
|
|
98
98
|
"@semantic-release/release-notes-generator": "14.0.3",
|
|
99
|
-
"@swc/core": "1.12.
|
|
99
|
+
"@swc/core": "1.12.7",
|
|
100
100
|
"@types/node": ">=22",
|
|
101
101
|
"eslint": "9.29.0",
|
|
102
102
|
"husky": "9.1.7",
|
package/src/import.ts
CHANGED
|
@@ -12,6 +12,7 @@ const base: TSESLint.FlatConfig.Config = {
|
|
|
12
12
|
'newlines-between': 'always',
|
|
13
13
|
alphabetize: { order: 'asc', caseInsensitive: true },
|
|
14
14
|
pathGroupsExcludedImportTypes: ['builtin'],
|
|
15
|
+
groups: ['builtin', 'external', 'internal', 'parent', 'sibling', 'index'],
|
|
15
16
|
},
|
|
16
17
|
],
|
|
17
18
|
},
|