Skip to content

Commit afb4e50

Browse files
committed
Simplify tsconfig
1 parent d6f84e5 commit afb4e50

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"lint": "concurrently npm:lint:*",
3333
"lint:exports": "attw --pack .",
3434
"lint:src": "eslint .",
35-
"lint:types": "tsc --noEmit",
35+
"lint:types": "tsc",
3636
"lint-fix": "eslint --fix src",
3737
"prepare": "husky",
3838
"prepublishOnly": "npm run build && npm run lint",

tsconfig.json

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,22 @@
33
"target": "ESNext",
44
"module": "ESNext",
55
"lib": ["DOM", "ESNext"],
6-
"declaration": true,
7-
"sourceMap": true,
8-
"esModuleInterop": true,
9-
"allowSyntheticDefaultImports": true,
10-
"downlevelIteration": true,
11-
"skipLibCheck": true,
126

137
/* Bundler mode */
148
"moduleResolution": "Bundler",
159
"isolatedModules": true,
16-
"jsx": "react-jsx",
1710
"noEmit": true,
1811

12+
/* JSX */
13+
"jsx": "react-jsx",
14+
1915
/* Linting */
2016
"strict": true,
17+
"skipLibCheck": true,
2118
"noUnusedLocals": true,
2219
"noUnusedParameters": true,
2320
"noFallthroughCasesInSwitch": true,
2421
"forceConsistentCasingInFileNames": true
2522
},
26-
"include": ["src"],
27-
"exclude": ["node_modules"]
23+
"include": ["src"]
2824
}

0 commit comments

Comments
 (0)