🔧 Simplify tsconfig (#1496)

This commit is contained in:
Luke Vella 2025-01-15 10:33:26 +00:00 committed by GitHub
parent 4e2661ba01
commit b4be956fd5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 18 additions and 21 deletions

View file

@ -8,5 +8,7 @@
"jestrunner.codeLensSelector": "",
"vitest.filesWatcherInclude": "**/*.test.ts",
"editor.formatOnSave": true,
"typescript.preferences.preferTypeOnlyAutoImports": true
"typescript.preferences.preferTypeOnlyAutoImports": true,
"typescript.tsserver.log": "verbose",
"typescript.tsserver.trace": "messages"
}

View file

@ -1,5 +1,5 @@
{
"extends": "@rallly/tsconfig/base.json",
"extends": "@rallly/tsconfig/react.json",
"include": ["**/*.ts"],
"exclude": ["node_modules"]
}

View file

@ -1,16 +0,0 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"display": "Default",
"extends": "@tsconfig/strictest/tsconfig.json",
"compilerOptions": {
"module": "ESNext",
"moduleResolution": "Bundler",
"noPropertyAccessFromIndexSignature": false,
"exactOptionalPropertyTypes": false,
"noUncheckedIndexedAccess": false,
"noImplicitReturns": false,
"verbatimModuleSyntax": true,
"skipLibCheck": true,
"strictNullChecks": true
}
}

View file

@ -1,5 +1,8 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"display": "Next.js",
"extends": ["./base.json", "@tsconfig/next/tsconfig.json"]
"extends": "@tsconfig/next/tsconfig.json",
"compilerOptions": {
"verbatimModuleSyntax": true
}
}

View file

@ -1,8 +1,16 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"display": "Next.js",
"extends": ["./base"],
"compilerOptions": {
"module": "ESNext",
"moduleResolution": "Bundler",
"noPropertyAccessFromIndexSignature": false,
"exactOptionalPropertyTypes": false,
"noUncheckedIndexedAccess": false,
"noImplicitReturns": false,
"verbatimModuleSyntax": true,
"skipLibCheck": true,
"strictNullChecks": true,
"lib": ["dom", "dom.iterable", "esnext"],
"jsx": "react-jsx"
}

View file

@ -2,6 +2,6 @@
"compilerOptions": {
"types": ["vitest/globals"]
},
"extends": "@rallly/tsconfig/base.json",
"extends": "@rallly/tsconfig/react.json",
"include": ["**/*.ts", "**/*.tsx"]
}