Skip to content

Commit ef14099

Browse files
committed
chore: refine TypeScript auto-import exclusion rules
1 parent 6049a6d commit ef14099

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.vscode/settings.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"typescript.tsdk": "node_modules/typescript/lib", // Use the workspace version of TypeScript
1010
"typescript.enablePromptUseWorkspaceTsdk": true, // For security reasons it's require that users opt into using the workspace version of typescript
1111
"typescript.preferences.autoImportSpecifierExcludeRegexes": [
12-
// useRouter should be imported from `next/navigation` instead of `next/router`
12+
// useRouter should be imported from `libs/I18nNavigation` instead of `next/router`
1313
"next/router",
1414
// give priority for Link to next/link instead of lucide-react
1515
"lucide-react",
@@ -18,7 +18,9 @@
1818
// Use Zod v4 instead of v3
1919
"zod/v3",
2020
// Sentry is imported with `import *`
21-
"@sentry/nextjs"
21+
"@sentry/nextjs",
22+
// Use Input from Shadcn UI instead of Input from Postcss
23+
"postcss"
2224
],
2325

2426
// Vitest

0 commit comments

Comments
 (0)