Skip to content

Commit a8e03b5

Browse files
committed
Use shareable tsconfig.json files
1 parent f2fbe0d commit a8e03b5

File tree

25 files changed

+68
-491
lines changed

25 files changed

+68
-491
lines changed

docs/tsconfig.json

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
11
{
2+
"extends": "@reduxjs/tsconfig/base",
23
"compilerOptions": {
3-
"allowSyntheticDefaultImports": true,
44
"esModuleInterop": true,
5-
"moduleResolution": "node",
6-
"noUnusedLocals": false,
7-
"noUnusedParameters": false,
85
"allowUnusedLabels": true,
9-
"skipLibCheck": true,
106
"noEmitOnError": false,
11-
"strict": true,
127
"removeComments": false,
13-
"module": "ESNext",
14-
"target": "ESNext",
158
"allowJs": true,
169
"checkJs": true,
1710
"alwaysStrict": false,
Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,5 @@
11
{
2-
"compilerOptions": {
3-
"target": "es5",
4-
"lib": ["dom", "dom.iterable", "esnext"],
5-
"allowJs": true,
6-
"skipLibCheck": true,
7-
"esModuleInterop": true,
8-
"allowSyntheticDefaultImports": true,
9-
"strict": true,
10-
"forceConsistentCasingInFileNames": true,
11-
"noFallthroughCasesInSwitch": true,
12-
"module": "esnext",
13-
"moduleResolution": "node",
14-
"resolveJsonModule": true,
15-
"isolatedModules": true,
16-
"noEmit": true,
17-
"jsx": "react-jsx"
18-
},
2+
"extends": "@reduxjs/tsconfig/create-react-app",
3+
"compilerOptions": {},
194
"include": ["src"]
205
}
Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,5 @@
11
{
2-
"include": ["./src/**/*"],
3-
"compilerOptions": {
4-
"strict": true,
5-
"esModuleInterop": true,
6-
"lib": ["dom", "es2015"],
7-
"jsx": "react-jsx",
8-
"target": "es5",
9-
"allowJs": true,
10-
"skipLibCheck": true,
11-
"allowSyntheticDefaultImports": true,
12-
"forceConsistentCasingInFileNames": true,
13-
"noFallthroughCasesInSwitch": true,
14-
"module": "esnext",
15-
"moduleResolution": "node",
16-
"resolveJsonModule": true,
17-
"isolatedModules": true,
18-
"noEmit": true
19-
}
2+
"extends": "@reduxjs/tsconfig/create-react-app",
3+
"compilerOptions": {},
4+
"include": ["src"]
205
}
Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,5 @@
11
{
2-
"include": ["./src/**/*"],
3-
"compilerOptions": {
4-
"strict": true,
5-
"esModuleInterop": true,
6-
"lib": ["dom", "es2015"],
7-
"jsx": "react-jsx",
8-
"target": "es5",
9-
"allowJs": true,
10-
"skipLibCheck": true,
11-
"allowSyntheticDefaultImports": true,
12-
"forceConsistentCasingInFileNames": true,
13-
"noFallthroughCasesInSwitch": true,
14-
"module": "esnext",
15-
"moduleResolution": "node",
16-
"resolveJsonModule": true,
17-
"isolatedModules": true,
18-
"noEmit": true
19-
}
2+
"extends": "@reduxjs/tsconfig/create-react-app",
3+
"compilerOptions": {},
4+
"include": ["src"]
205
}
Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,5 @@
11
{
2-
"include": ["./src/**/*"],
3-
"compilerOptions": {
4-
"strict": true,
5-
"esModuleInterop": true,
6-
"lib": ["dom", "es2015"],
7-
"jsx": "react-jsx",
8-
"target": "es5",
9-
"allowJs": true,
10-
"skipLibCheck": true,
11-
"allowSyntheticDefaultImports": true,
12-
"forceConsistentCasingInFileNames": true,
13-
"noFallthroughCasesInSwitch": true,
14-
"module": "esnext",
15-
"moduleResolution": "node",
16-
"resolveJsonModule": true,
17-
"isolatedModules": true,
18-
"noEmit": true
19-
}
2+
"extends": "@reduxjs/tsconfig/create-react-app",
3+
"compilerOptions": {},
4+
"include": ["src"]
205
}
Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,5 @@
11
{
2-
"include": ["./src/**/*"],
3-
"compilerOptions": {
4-
"strict": true,
5-
"esModuleInterop": true,
6-
"lib": ["dom", "es2015"],
7-
"jsx": "react-jsx",
8-
"target": "es5",
9-
"allowJs": true,
10-
"skipLibCheck": true,
11-
"allowSyntheticDefaultImports": true,
12-
"forceConsistentCasingInFileNames": true,
13-
"noFallthroughCasesInSwitch": true,
14-
"module": "esnext",
15-
"moduleResolution": "node",
16-
"resolveJsonModule": true,
17-
"isolatedModules": true,
18-
"noEmit": true
19-
}
2+
"extends": "@reduxjs/tsconfig/create-react-app",
3+
"compilerOptions": {},
4+
"include": ["src"]
205
}
Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,5 @@
11
{
2-
"include": ["./src/**/*"],
3-
"compilerOptions": {
4-
"strict": true,
5-
"esModuleInterop": true,
6-
"lib": ["dom", "es2015"],
7-
"jsx": "react-jsx",
8-
"target": "es5",
9-
"allowJs": true,
10-
"skipLibCheck": true,
11-
"allowSyntheticDefaultImports": true,
12-
"forceConsistentCasingInFileNames": true,
13-
"noFallthroughCasesInSwitch": true,
14-
"module": "esnext",
15-
"moduleResolution": "node",
16-
"resolveJsonModule": true,
17-
"isolatedModules": true,
18-
"noEmit": true
19-
}
2+
"extends": "@reduxjs/tsconfig/create-react-app",
3+
"compilerOptions": {},
4+
"include": ["src"]
205
}
Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,5 @@
11
{
2-
"include": ["./src/**/*"],
3-
"compilerOptions": {
4-
"strict": true,
5-
"esModuleInterop": true,
6-
"lib": ["dom", "es2015"],
7-
"jsx": "react-jsx",
8-
"target": "es5",
9-
"allowJs": true,
10-
"skipLibCheck": true,
11-
"allowSyntheticDefaultImports": true,
12-
"forceConsistentCasingInFileNames": true,
13-
"noFallthroughCasesInSwitch": true,
14-
"module": "esnext",
15-
"moduleResolution": "node",
16-
"resolveJsonModule": true,
17-
"isolatedModules": true,
18-
"noEmit": true
19-
}
2+
"extends": "@reduxjs/tsconfig/create-react-app",
3+
"compilerOptions": {},
4+
"include": ["src"]
205
}
Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,5 @@
11
{
2-
"include": ["./src/**/*"],
3-
"compilerOptions": {
4-
"strict": true,
5-
"esModuleInterop": true,
6-
"lib": ["dom", "es2015"],
7-
"jsx": "react-jsx",
8-
"target": "es5",
9-
"allowJs": true,
10-
"skipLibCheck": true,
11-
"allowSyntheticDefaultImports": true,
12-
"forceConsistentCasingInFileNames": true,
13-
"noFallthroughCasesInSwitch": true,
14-
"module": "esnext",
15-
"moduleResolution": "node",
16-
"resolveJsonModule": true,
17-
"isolatedModules": true,
18-
"noEmit": true,
19-
"baseUrl": "src"
20-
}
2+
"extends": "@reduxjs/tsconfig/create-react-app",
3+
"compilerOptions": {},
4+
"include": ["src"]
215
}
Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,5 @@
11
{
2-
"include": ["./src/**/*"],
3-
"compilerOptions": {
4-
"strict": true,
5-
"esModuleInterop": true,
6-
"lib": ["dom", "es2015"],
7-
"jsx": "react-jsx",
8-
"target": "es5",
9-
"allowJs": true,
10-
"skipLibCheck": true,
11-
"allowSyntheticDefaultImports": true,
12-
"forceConsistentCasingInFileNames": true,
13-
"noFallthroughCasesInSwitch": true,
14-
"module": "esnext",
15-
"moduleResolution": "node",
16-
"resolveJsonModule": true,
17-
"isolatedModules": true,
18-
"noEmit": true
19-
}
2+
"extends": "@reduxjs/tsconfig/create-react-app",
3+
"compilerOptions": {},
4+
"include": ["src"]
205
}

0 commit comments

Comments
 (0)