@vinicius1313/tsconfig 1.0.0
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/README.md +23 -0
- package/package.json +11 -0
- package/tsconfig.json +29 -0
package/README.md
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# @vinicius1313/tsconfig
|
|
2
|
+
|
|
3
|
+
This library contains the TypeScript configurations I use in my projects.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
Install this library with:
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
npm install -D @vinicius1313/tsconfig
|
|
11
|
+
# or
|
|
12
|
+
yarn add -D @vinicius1313/tsconfig
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Usage
|
|
16
|
+
|
|
17
|
+
Edit your `tsconfig.json` file to extend this library:
|
|
18
|
+
|
|
19
|
+
```json
|
|
20
|
+
{
|
|
21
|
+
"extends": "@vinicius1313/tsconfig/tsconfig.json",
|
|
22
|
+
}
|
|
23
|
+
```
|
package/package.json
ADDED
package/tsconfig.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"allowSyntheticDefaultImports": true,
|
|
4
|
+
"allowUnreachableCode": true,
|
|
5
|
+
"allowUnusedLabels": true,
|
|
6
|
+
"esModuleInterop": true,
|
|
7
|
+
"forceConsistentCasingInFileNames": true,
|
|
8
|
+
"isolatedModules": true,
|
|
9
|
+
"jsx": "react-jsx",
|
|
10
|
+
"lib": [
|
|
11
|
+
"esnext",
|
|
12
|
+
],
|
|
13
|
+
"module": "esnext",
|
|
14
|
+
"moduleResolution": "node",
|
|
15
|
+
"noFallthroughCasesInSwitch": true,
|
|
16
|
+
"noImplicitReturns": true,
|
|
17
|
+
"noImplicitUseStrict": false,
|
|
18
|
+
"noStrictGenericChecks": false,
|
|
19
|
+
"noUnusedLocals": false,
|
|
20
|
+
"noUnusedParameters": false,
|
|
21
|
+
"preserveValueImports": false,
|
|
22
|
+
"removeComments": true,
|
|
23
|
+
"resolveJsonModule": true,
|
|
24
|
+
"skipLibCheck": true,
|
|
25
|
+
"strict": true,
|
|
26
|
+
"target": "esnext",
|
|
27
|
+
"useUnknownInCatchVariables": true,
|
|
28
|
+
},
|
|
29
|
+
}
|