Skip to content

Commit 00c4194

Browse files
committedNov 28, 2024
fix(perfectionist): revert bahaviour change on import sorting since v3.10
1 parent a02e566 commit 00c4194

File tree

3 files changed

+47
-47
lines changed

3 files changed

+47
-47
lines changed
 

‎package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
"@stylistic/eslint-plugin": "^2.11.0",
104104
"@typescript-eslint/eslint-plugin": "^8.16.0",
105105
"@typescript-eslint/parser": "^8.16.0",
106-
"@vitest/eslint-plugin": "^1.1.11",
106+
"@vitest/eslint-plugin": "^1.1.12",
107107
"eslint-config-flat-gitignore": "^0.3.0",
108108
"eslint-flat-config-utils": "^0.4.0",
109109
"eslint-merge-processors": "^0.1.0",
@@ -140,7 +140,7 @@
140140
"@prettier/plugin-xml": "^3.4.1",
141141
"@stylistic/eslint-plugin-migrate": "^2.11.0",
142142
"@types/fs-extra": "^11.0.4",
143-
"@types/node": "^22.10.0",
143+
"@types/node": "^22.10.1",
144144
"@types/prompts": "^2.4.9",
145145
"@types/yargs": "^17.0.33",
146146
"@unocss/eslint-plugin": "^0.64.1",
@@ -164,7 +164,7 @@
164164
"prettier-plugin-slidev": "^1.0.5",
165165
"rimraf": "^6.0.1",
166166
"simple-git-hooks": "^2.11.1",
167-
"svelte": "^5.2.9",
167+
"svelte": "^5.2.10",
168168
"svelte-eslint-parser": "^0.43.0",
169169
"tsup": "^8.3.5",
170170
"tsx": "^4.19.2",

‎pnpm-lock.yaml

+42-42
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/configs/perfectionist.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ export async function perfectionist(): Promise<TypedFlatConfigItem[]> {
1919
'perfectionist/sort-imports': ['error', {
2020
groups: [
2121
'type',
22-
['parent-type', 'sibling-type', 'index-type'],
22+
['parent-type', 'sibling-type', 'index-type', 'internal-type'],
2323

2424
'builtin',
2525
'external',
26-
['internal', 'internal-type'],
26+
'internal',
2727
['parent', 'sibling', 'index'],
2828
'side-effect',
2929
'object',

0 commit comments

Comments
 (0)
Please sign in to comment.