Skip to content

Commit 2393419

Browse files
committed
PB-1383: set TS config to only allow TS
this is it, no more JS 🎉
1 parent 8f46aba commit 2393419

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

packages/viewer/tsconfig.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
{
22
"extends": "@swissgeo/config-typescript/tsconfig.vue.json",
3-
"include": ["**/*.ts", "**/*.js", "**/*.vue", "vite.config.ts"],
3+
"include": ["**/*.ts", "**/*.vue", "vite.config.ts"],
44
"exclude": [
55
"eslint.config.mts",
66
// the tests/cypress folder is managed as a separate TS project (it has its own tsconfig.json)
77
"tests/cypress"
88
],
99
"compilerOptions": {
1010
"target": "ESNext",
11-
// see https://www.typescriptlang.org/tsconfig#allowJs
12-
// see https://github.com/vuejs/eslint-config-typescript?tab=readme-ov-file#advanced-setup
13-
"allowJs": true,
1411
"lib": ["ES2024"]
1512
}
1613
}

0 commit comments

Comments
 (0)