forked from hanabi/hanabi.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
44 lines (39 loc) · 1.33 KB
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// The configuration file for TypeScript.
// This file is not used in compilation. It is here just for a nice editor experience.
{
"$schema": "https://raw.githubusercontent.com/IsaacScript/isaacscript/main/packages/isaacscript-cli/schemas/tsconfig-strict-schema.json",
"extends": [
// We extend the base IsaacScript config:
// https://github.com/IsaacScript/isaacscript/blob/main/packages/isaacscript-tsconfig/tsconfig.base.json
"isaacscript-tsconfig/tsconfig.base.json",
// We extend the standard Docusaurus config:
// https://github.com/facebook/docusaurus/blob/main/packages/docusaurus-tsconfig/tsconfig.json
"@docusaurus/tsconfig",
],
// https://www.typescriptlang.org/docs/handbook/compiler-options.html
"compilerOptions": {
"baseUrl": ".",
},
// We want to lint every file in the repository. Two entries for each file extension are needed
// because TypeScript will exclude files that begin with a period from an asterisk glob by
// default.
"include": [
"./**/*.js",
"./**/.*.js",
"./**/*.cjs",
"./**/.*.cjs",
"./**/*.mjs",
"./**/.*.mjs",
"./**/*.jsx",
"./**/.*.jsx",
"./**/*.ts",
"./**/.*.ts",
"./**/*.cts",
"./**/.*.cts",
"./**/*.mts",
"./**/.*.mts",
"./**/*.tsx",
"./**/.*.tsx",
],
"exclude": [".docusaurus", "build", "scripts"],
}