mirror of
https://github.com/lukevella/rallly.git
synced 2025-06-08 05:31:51 +02:00
🔧 Simplify tsconfig (#1496)
This commit is contained in:
parent
4e2661ba01
commit
b4be956fd5
6 changed files with 18 additions and 21 deletions
4
.vscode/settings.json
vendored
4
.vscode/settings.json
vendored
|
@ -8,5 +8,7 @@
|
||||||
"jestrunner.codeLensSelector": "",
|
"jestrunner.codeLensSelector": "",
|
||||||
"vitest.filesWatcherInclude": "**/*.test.ts",
|
"vitest.filesWatcherInclude": "**/*.test.ts",
|
||||||
"editor.formatOnSave": true,
|
"editor.formatOnSave": true,
|
||||||
"typescript.preferences.preferTypeOnlyAutoImports": true
|
"typescript.preferences.preferTypeOnlyAutoImports": true,
|
||||||
|
"typescript.tsserver.log": "verbose",
|
||||||
|
"typescript.tsserver.trace": "messages"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"extends": "@rallly/tsconfig/base.json",
|
"extends": "@rallly/tsconfig/react.json",
|
||||||
"include": ["**/*.ts"],
|
"include": ["**/*.ts"],
|
||||||
"exclude": ["node_modules"]
|
"exclude": ["node_modules"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,5 +1,8 @@
|
||||||
{
|
{
|
||||||
"$schema": "https://json.schemastore.org/tsconfig",
|
"$schema": "https://json.schemastore.org/tsconfig",
|
||||||
"display": "Next.js",
|
"display": "Next.js",
|
||||||
"extends": ["./base.json", "@tsconfig/next/tsconfig.json"]
|
"extends": "@tsconfig/next/tsconfig.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"verbatimModuleSyntax": true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,8 +1,16 @@
|
||||||
{
|
{
|
||||||
"$schema": "https://json.schemastore.org/tsconfig",
|
"$schema": "https://json.schemastore.org/tsconfig",
|
||||||
"display": "Next.js",
|
"display": "Next.js",
|
||||||
"extends": ["./base"],
|
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
|
"module": "ESNext",
|
||||||
|
"moduleResolution": "Bundler",
|
||||||
|
"noPropertyAccessFromIndexSignature": false,
|
||||||
|
"exactOptionalPropertyTypes": false,
|
||||||
|
"noUncheckedIndexedAccess": false,
|
||||||
|
"noImplicitReturns": false,
|
||||||
|
"verbatimModuleSyntax": true,
|
||||||
|
"skipLibCheck": true,
|
||||||
|
"strictNullChecks": true,
|
||||||
"lib": ["dom", "dom.iterable", "esnext"],
|
"lib": ["dom", "dom.iterable", "esnext"],
|
||||||
"jsx": "react-jsx"
|
"jsx": "react-jsx"
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"types": ["vitest/globals"]
|
"types": ["vitest/globals"]
|
||||||
},
|
},
|
||||||
"extends": "@rallly/tsconfig/base.json",
|
"extends": "@rallly/tsconfig/react.json",
|
||||||
"include": ["**/*.ts", "**/*.tsx"]
|
"include": ["**/*.ts", "**/*.tsx"]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue