Skip to content

Commit

Permalink
Cleanup tsconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
MaXal committed Oct 4, 2024
1 parent 369baed commit 718f17b
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- name: Run ESLint
run: ESLINT_USE_FLAT_CONFIG=false pnpm eslint . --ext .js,.vue,.ts
- name: Run VueTSC
run: pnpm vue-tsc --noEmit
run: pnpm vue-tsc
- name: Run Prettier
run: pnpm prettier --check . --log-level warn
- name: Run tests
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ lint:
#To fix run: pnpm prettier --write . --loglevel
pnpm prettier --check . --log-level warn
ESLINT_USE_FLAT_CONFIG=false eslint . --ext .js,.vue,.ts
vue-tsc --noEmit
vue-tsc


build-server:
Expand Down
27 changes: 17 additions & 10 deletions tsconfig-base.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,28 @@
{
"compilerOptions": {
"esModuleInterop": true,
"skipLibCheck": true,
"target": "ESNext",
"module": "esnext",
"moduleResolution": "node",
"strict": true,
"allowJs": true,
"noFallthroughCasesInSwitch": true,
"noImplicitReturns": true,
"noPropertyAccessFromIndexSignature": true,
"resolveJsonModule": true,
"moduleDetection": "force",
"isolatedModules": true,


"strict": true,
"noUnusedLocals": true,
"noPropertyAccessFromIndexSignature": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"noImplicitReturns": true,

"module": "preserve",
"jsx": "preserve",
"noEmit": true,
"moduleResolution": "node",

"newLine": "LF",
"esModuleInterop": true,
"resolveJsonModule": true,
"sourceMap": true,
"skipLibCheck": true,
"jsx": "preserve",
"lib": ["esnext", "dom"],
"types": ["vite/client"]
}
Expand Down

0 comments on commit 718f17b

Please sign in to comment.