@igorskyflyer/tsconfig 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/README.md +243 -219
- package/package.json +1 -1
- package/tsconfig.base.json +17 -27
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 Igor Dimitrijević (igorskyflyer)
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Igor Dimitrijević (igorskyflyer)
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,219 +1,243 @@
|
|
|
1
|
-
<div align="center">
|
|
2
|
-
<img src="https://raw.githubusercontent.com/igorskyflyer/npm-tsconfig/main/media/tsconfig.png" alt="Icon of TSConfig" width="256" height="256">
|
|
3
|
-
<h1>TSConfig</h1>
|
|
4
|
-
</div>
|
|
5
|
-
|
|
6
|
-
<blockquote align="center">Strict By Default • ES2024 • Node & Browser • Zero Config </blockquote>
|
|
7
|
-
|
|
8
|
-
<h4 align="center">
|
|
9
|
-
🔧 Opinionated, reusable TSConfig base for modern TypeScript projects by igorskyflyer. 🧠
|
|
10
|
-
</h4>
|
|
11
|
-
|
|
12
|
-
<br>
|
|
13
|
-
|
|
14
|
-
## Table of Contents
|
|
15
|
-
|
|
16
|
-
- ✨ [**Features**](#features)
|
|
17
|
-
- 🕵🏼 [**Usage**](#usage)
|
|
18
|
-
- ⚙️ [**Implementation**](#implementation)
|
|
19
|
-
- 🎯 [**Motivation**](#motivation)
|
|
20
|
-
- 📝 [**Changelog**](#changelog)
|
|
21
|
-
- 🪪 [**License**](#license)
|
|
22
|
-
- 💖 [**Support**](#support)
|
|
23
|
-
- 🧬 [**Related**](#related)
|
|
24
|
-
- 👨🏻💻 [**Author**](#author)
|
|
25
|
-
|
|
26
|
-
<br>
|
|
27
|
-
|
|
28
|
-
## Features
|
|
29
|
-
|
|
30
|
-
- 🔧 Strict `TypeScript` rules enabled by default
|
|
31
|
-
- 📦 Separate configs for `Node` and `browser` environments
|
|
32
|
-
- 🎯 `ES2024` target - `modern` and future-ready
|
|
33
|
-
- 🗂️ Predefined `src/`, `dist/` and `test/` structure
|
|
34
|
-
- 🔍 Catches `unused` locals, parameters and implicit `any`
|
|
35
|
-
- 🗺️ `Source maps` and `declaration` maps included
|
|
36
|
-
- ⚡ `Zero-config` setup - extend and go
|
|
37
|
-
|
|
38
|
-
<br>
|
|
39
|
-
|
|
40
|
-
## Usage
|
|
41
|
-
|
|
42
|
-
Install it by executing any of the following, depending on the preferred package manager:
|
|
43
|
-
|
|
44
|
-
```bash
|
|
45
|
-
pnpm add -D @igorskyflyer/tsconfig
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
```bash
|
|
49
|
-
yarn add -D @igorskyflyer/tsconfig
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
```bash
|
|
53
|
-
npm i -D @igorskyflyer/tsconfig
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
<br>
|
|
57
|
-
|
|
58
|
-
Then extend the preferred config in `tsconfig.json`:
|
|
59
|
-
|
|
60
|
-
**Node (default):**
|
|
61
|
-
```jsonc
|
|
62
|
-
{
|
|
63
|
-
"extends": "@igorskyflyer/tsconfig"
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
"
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
"
|
|
127
|
-
"
|
|
128
|
-
"
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
<
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
<br>
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
>
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
>
|
|
203
|
-
|
|
204
|
-
<br>
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
>
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
[**@igorskyflyer/
|
|
213
|
-
|
|
214
|
-
> _
|
|
215
|
-
|
|
216
|
-
<br>
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
1
|
+
<div align="center">
|
|
2
|
+
<img src="https://raw.githubusercontent.com/igorskyflyer/npm-tsconfig/main/media/tsconfig.png" alt="Icon of TSConfig" width="256" height="256">
|
|
3
|
+
<h1>TSConfig</h1>
|
|
4
|
+
</div>
|
|
5
|
+
|
|
6
|
+
<blockquote align="center">Strict By Default • ES2024 • Node & Browser • Zero Config </blockquote>
|
|
7
|
+
|
|
8
|
+
<h4 align="center">
|
|
9
|
+
🔧 Opinionated, reusable TSConfig base for modern TypeScript projects by igorskyflyer. 🧠
|
|
10
|
+
</h4>
|
|
11
|
+
|
|
12
|
+
<br>
|
|
13
|
+
|
|
14
|
+
## Table of Contents
|
|
15
|
+
|
|
16
|
+
- ✨ [**Features**](#features)
|
|
17
|
+
- 🕵🏼 [**Usage**](#usage)
|
|
18
|
+
- ⚙️ [**Implementation**](#implementation)
|
|
19
|
+
- 🎯 [**Motivation**](#motivation)
|
|
20
|
+
- 📝 [**Changelog**](#changelog)
|
|
21
|
+
- 🪪 [**License**](#license)
|
|
22
|
+
- 💖 [**Support**](#support)
|
|
23
|
+
- 🧬 [**Related**](#related)
|
|
24
|
+
- 👨🏻💻 [**Author**](#author)
|
|
25
|
+
|
|
26
|
+
<br>
|
|
27
|
+
|
|
28
|
+
## Features
|
|
29
|
+
|
|
30
|
+
- 🔧 Strict `TypeScript` rules enabled by default
|
|
31
|
+
- 📦 Separate configs for `Node` and `browser` environments
|
|
32
|
+
- 🎯 `ES2024` target - `modern` and future-ready
|
|
33
|
+
- 🗂️ Predefined `src/`, `dist/` and `test/` structure
|
|
34
|
+
- 🔍 Catches `unused` locals, parameters and implicit `any`
|
|
35
|
+
- 🗺️ `Source maps` and `declaration` maps included
|
|
36
|
+
- ⚡ `Zero-config` setup - extend and go
|
|
37
|
+
|
|
38
|
+
<br>
|
|
39
|
+
|
|
40
|
+
## Usage
|
|
41
|
+
|
|
42
|
+
Install it by executing any of the following, depending on the preferred package manager:
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
pnpm add -D @igorskyflyer/tsconfig
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
yarn add -D @igorskyflyer/tsconfig
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
npm i -D @igorskyflyer/tsconfig
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
<br>
|
|
57
|
+
|
|
58
|
+
Then extend the preferred config in `tsconfig.json`:
|
|
59
|
+
|
|
60
|
+
**Node (default):**
|
|
61
|
+
```jsonc
|
|
62
|
+
{
|
|
63
|
+
"extends": "@igorskyflyer/tsconfig",
|
|
64
|
+
"include": ["src/**/*"],
|
|
65
|
+
"exclude": ["node_modules/**/*", "test/**/*", "dist/**/*"],
|
|
66
|
+
"compilerOptions": {
|
|
67
|
+
"rootDir": "./src",
|
|
68
|
+
"outDir": "./dist"
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
**Node (explicit):**
|
|
74
|
+
```jsonc
|
|
75
|
+
{
|
|
76
|
+
"extends": "@igorskyflyer/tsconfig/node",
|
|
77
|
+
"include": ["src/**/*"],
|
|
78
|
+
"exclude": ["node_modules/**/*", "test/**/*", "dist/**/*"],
|
|
79
|
+
"compilerOptions": {
|
|
80
|
+
"rootDir": "./src",
|
|
81
|
+
"outDir": "./dist"
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
**Browser:**
|
|
87
|
+
```jsonc
|
|
88
|
+
{
|
|
89
|
+
"extends": "@igorskyflyer/tsconfig/browser",
|
|
90
|
+
"include": ["src/**/*"],
|
|
91
|
+
"exclude": ["node_modules/**/*", "test/**/*", "dist/**/*"],
|
|
92
|
+
"compilerOptions": {
|
|
93
|
+
"rootDir": "./src",
|
|
94
|
+
"outDir": "./dist"
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
**Base only:**
|
|
100
|
+
```jsonc
|
|
101
|
+
{
|
|
102
|
+
"extends": "@igorskyflyer/tsconfig/base",
|
|
103
|
+
"include": ["src/**/*"],
|
|
104
|
+
"exclude": ["node_modules/**/*", "test/**/*", "dist/**/*"],
|
|
105
|
+
"compilerOptions": {
|
|
106
|
+
"rootDir": "./src",
|
|
107
|
+
"outDir": "./dist"
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
>[!NOTE]
|
|
113
|
+
> `include`, `exclude`, `rootDir` and `outDir` are project-specific and must be defined locally.
|
|
114
|
+
>
|
|
115
|
+
|
|
116
|
+
<br>
|
|
117
|
+
|
|
118
|
+
## Implementation
|
|
119
|
+
|
|
120
|
+
All configs extend `base`, which defines the shared structure and strict rules.
|
|
121
|
+
|
|
122
|
+
### Base
|
|
123
|
+
```jsonc
|
|
124
|
+
{
|
|
125
|
+
"compilerOptions": {
|
|
126
|
+
"declaration": true, // generate .d.ts files
|
|
127
|
+
"declarationMap": true, // generate .d.ts.map files
|
|
128
|
+
"sourceMap": true, // generate .js.map files
|
|
129
|
+
"verbatimModuleSyntax": true, // enforce explicit import/export types
|
|
130
|
+
"strict": true, // enable all strict checks
|
|
131
|
+
"noUnusedLocals": true, // error on unused local variables
|
|
132
|
+
"noUnusedParameters": true, // error on unused function parameters
|
|
133
|
+
"noImplicitAny": true, // error on implicit 'any' types
|
|
134
|
+
"noImplicitReturns": true, // error on missing return statements
|
|
135
|
+
"skipLibCheck": true, // skip type-checking of .d.ts files
|
|
136
|
+
"forceConsistentCasingInFileNames": true, // enforce consistent file casing
|
|
137
|
+
"noEmitOnError": true // skip emit if type errors exist
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
### Node
|
|
143
|
+
|
|
144
|
+
Extends `base` and adds `Node` environment targeting:
|
|
145
|
+
```jsonc
|
|
146
|
+
{
|
|
147
|
+
"extends": "./tsconfig.base.json",
|
|
148
|
+
"compilerOptions": {
|
|
149
|
+
"target": "ES2024", // modern JS output
|
|
150
|
+
"lib": ["ES2024"], // modern built-in types
|
|
151
|
+
"module": "NodeNext", // Node ESM-compatible modules
|
|
152
|
+
"moduleResolution": "NodeNext" // Node ESM module resolution
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
### Browser
|
|
158
|
+
|
|
159
|
+
Extends `base` and adds `browser` environment targeting:
|
|
160
|
+
```jsonc
|
|
161
|
+
{
|
|
162
|
+
"extends": "./tsconfig.base.json",
|
|
163
|
+
"compilerOptions": {
|
|
164
|
+
"target": "ES2024", // modern JS output
|
|
165
|
+
"lib": ["ES2024", "DOM", "DOM.Iterable"], // modern + DOM types
|
|
166
|
+
"module": "ESNext", // bundler-compatible modules
|
|
167
|
+
"moduleResolution": "Bundler" // bundler module resolution
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
<br>
|
|
173
|
+
|
|
174
|
+
## Motivation
|
|
175
|
+
|
|
176
|
+
Managing `TypeScript` configuration across multiple projects is tedious and error-prone. Each project ends up with its own `tsconfig.json`, slightly different, slightly outdated, with no single source of truth.
|
|
177
|
+
|
|
178
|
+
`@igorskyflyer/tsconfig` solves this by providing one opinionated, versioned config that propagates across all projects via a simple `extends`. *Update once, apply everywhere* - just like all packages of the `@igorskyflyer` ecosystem do!
|
|
179
|
+
|
|
180
|
+
<br>
|
|
181
|
+
|
|
182
|
+
## Changelog
|
|
183
|
+
|
|
184
|
+
Read about the latest changes in the [**CHANGELOG**](https://github.com/igorskyflyer/npm-tsconfig/blob/main/CHANGELOG.md).
|
|
185
|
+
|
|
186
|
+
<br>
|
|
187
|
+
|
|
188
|
+
## License
|
|
189
|
+
|
|
190
|
+
Licensed under the [**MIT license**](https://github.com/igorskyflyer/npm-tsconfig/blob/main/LICENSE).
|
|
191
|
+
|
|
192
|
+
<br>
|
|
193
|
+
|
|
194
|
+
## Support
|
|
195
|
+
|
|
196
|
+
<div align="center">
|
|
197
|
+
Engineering and documenting open-source projects<br>
|
|
198
|
+
involves a significant investment of time.
|
|
199
|
+
<br><br>
|
|
200
|
+
If this project or its implementation has provided value,<br>
|
|
201
|
+
support is greatly appreciated.
|
|
202
|
+
<br><br>
|
|
203
|
+
<a href="https://ko-fi.com/igorskyflyer" target="_blank"><img src="https://raw.githubusercontent.com/igorskyflyer/igorskyflyer/main/assets/ko-fi.png" alt="Donate to igorskyflyer" width="180" height="46"></a>
|
|
204
|
+
<br><br>
|
|
205
|
+
<em>Thank you for supporting these efforts!</em> 🙏😊
|
|
206
|
+
</div>
|
|
207
|
+
|
|
208
|
+
<br>
|
|
209
|
+
|
|
210
|
+
## Related
|
|
211
|
+
|
|
212
|
+
[**@igorskyflyer/duoscribi**](https://www.npmjs.com/package/@igorskyflyer/duoscribi)
|
|
213
|
+
|
|
214
|
+
> _✒ DúöScríbî allows you to convert letters with diacritics to regular letters. 🤓_
|
|
215
|
+
|
|
216
|
+
<br>
|
|
217
|
+
|
|
218
|
+
[**@igorskyflyer/zep**](https://www.npmjs.com/package/@igorskyflyer/zep)
|
|
219
|
+
|
|
220
|
+
> _🧠 Zep is a zero-dependency, efficient debounce module. ⏰_
|
|
221
|
+
|
|
222
|
+
<br>
|
|
223
|
+
|
|
224
|
+
[**@igorskyflyer/common-types**](https://www.npmjs.com/package/@igorskyflyer/common-types)
|
|
225
|
+
|
|
226
|
+
> _🔦 Provides frequently used types for your TypeScript projects. 🦄_
|
|
227
|
+
|
|
228
|
+
<br>
|
|
229
|
+
|
|
230
|
+
[**@igorskyflyer/zitto**](https://www.npmjs.com/package/@igorskyflyer/zitto)
|
|
231
|
+
|
|
232
|
+
> _🤫 Zitto - quiet config, loud clarity. A zero-dependency TypeScript/JavaScript helper for merging defaults and options across Node, Deno, Bun, and browsers. 🍯_
|
|
233
|
+
|
|
234
|
+
<br>
|
|
235
|
+
|
|
236
|
+
[**@igorskyflyer/magic-queryselector**](https://www.npmjs.com/package/@igorskyflyer/magic-queryselector)
|
|
237
|
+
|
|
238
|
+
> _🪄 A TypeScript-types patch for querySelector/querySelectorAll, make them return types you expect them to! 🔮_
|
|
239
|
+
|
|
240
|
+
<br>
|
|
241
|
+
|
|
242
|
+
## Author
|
|
243
|
+
Created by **Igor Dimitrijević ([*@igorskyflyer*](https://github.com/igorskyflyer/))**.
|
package/package.json
CHANGED
package/tsconfig.base.json
CHANGED
|
@@ -1,27 +1,17 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json.schemastore.org/tsconfig",
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
"strict": true,
|
|
19
|
-
"noUnusedLocals": true,
|
|
20
|
-
"noUnusedParameters": true,
|
|
21
|
-
"noImplicitAny": true,
|
|
22
|
-
"noImplicitReturns": true,
|
|
23
|
-
"skipLibCheck": true,
|
|
24
|
-
"forceConsistentCasingInFileNames": true,
|
|
25
|
-
"noEmitOnError": true
|
|
26
|
-
}
|
|
27
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json.schemastore.org/tsconfig",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"declaration": true,
|
|
5
|
+
"declarationMap": true,
|
|
6
|
+
"sourceMap": true,
|
|
7
|
+
"verbatimModuleSyntax": true,
|
|
8
|
+
"strict": true,
|
|
9
|
+
"noUnusedLocals": true,
|
|
10
|
+
"noUnusedParameters": true,
|
|
11
|
+
"noImplicitAny": true,
|
|
12
|
+
"noImplicitReturns": true,
|
|
13
|
+
"skipLibCheck": true,
|
|
14
|
+
"forceConsistentCasingInFileNames": true,
|
|
15
|
+
"noEmitOnError": true
|
|
16
|
+
}
|
|
17
|
+
}
|