Skip to content

Commit

Permalink
share tsconfig.json options with eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
u-sho committed May 3, 2024
1 parent 37b29c3 commit 4d28819
Showing 1 changed file with 1 addition and 37 deletions.
38 changes: 1 addition & 37 deletions tsconfig.eslint.json
Original file line number Diff line number Diff line change
@@ -1,44 +1,8 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"paths": {
"$lib": ["./src/lib"],
"$lib/*": ["./src/lib/*"]
},
"rootDirs": [".", "./.svelte-kit/types"],
"verbatimModuleSyntax": true,
"isolatedModules": true,
"lib": [],
"moduleResolution": "Bundler",
"module": "esnext",
"target": "esnext",

"sourceMap": true,
"esModuleInterop": true,
"skipLibCheck": false,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"allowJs": false,
"strict": true,

"allowUnreachableCode": true,
"allowUnusedLabels": true,
"exactOptionalPropertyTypes": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"noPropertyAccessFromIndexSignature": true,
"noUncheckedIndexedAccess": false,
"noUnusedLocals": true,
"noUnusedParameters": true,

"downlevelIteration": true,
"importHelpers": true,

"newLine": "lf",
"noEmitHelpers": true,
"removeComments": true,

"types": ["vitest/importMeta", "@typescript/lib-esnext", "@typescript/lib-dom"],
"plugins": [{ "name": "typescript-eslint-language-service" }]
},
"include": [
".svelte-kit/ambient.d.ts",
Expand Down

0 comments on commit 4d28819

Please sign in to comment.