-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Expand file tree
/
Copy pathtsconfig.json
More file actions
24 lines (24 loc) · 950 Bytes
/
Copy pathtsconfig.json
File metadata and controls
24 lines (24 loc) · 950 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
"compilerOptions": {
"allowJs": true,
// TypeScript 7 enables strict by default; the assets adopt types
// incrementally, so keep the looser checks for now.
"strict": false,
// Each file opts in with a `// @ts-check` comment.
"checkJs": false,
// Modules make unused imports easy to leave behind, and they cost a
// request each. Unused *parameters* are left alone: the code has plenty of
// deliberately-ignored handler arguments.
"noUnusedLocals": true,
// Modules are strict mode, so `this` is undefined in a plain function
// rather than the global object the concatenated bundle gave it.
"noImplicitThis": true,
"noEmit": true,
"target": "ES2022",
"module": "preserve",
"moduleResolution": "bundler",
"lib": ["ES2022", "DOM", "DOM.Iterable"]
},
"include": ["assets/javascripts/**/*.js", "assets/javascripts/**/*.d.ts"],
"exclude": ["assets/javascripts/vendor"]
}