forked from Forgotten-Fables/Forgotten-Fables.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
19 lines (18 loc) · 762 Bytes
/
tsconfig.json
File metadata and controls
19 lines (18 loc) · 762 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
// https://www.typescriptlang.org/docs/handbook/compiler-options.html
"compilerOptions": {
// We want the compiler to be as strict as possible to catch all the things
// By default, these flags are false
"strict": true,
"forceConsistentCasingInFileNames": true,
"noImplicitReturns": true,
"noUnusedParameters": true,
// (we prefer the "@typescript-eslint/no-unused-vars" ESLint rule over the "noUnusedLocals"
// compiler flag since unused local variables can be useful while debugging)
// "newLine" specifies the end of line sequence
// By default, it is "crlf" on Windows
// We want to always use "lf" to be consistent with all platforms and reduce the file size of
// the output
"newLine": "lf"
}
}