Skip to content

Commit 0d7dc9f

Browse files
committed
fix: fix tsconfig.codemod config file format
1 parent 98ca275 commit 0d7dc9f

File tree

1 file changed

+38
-39
lines changed

1 file changed

+38
-39
lines changed

tsconfig.codemod.json

+38-39
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,40 @@
11
{
2-
"extends": "./tsconfig.json",
3-
"compilerOptions": {
4-
"composite": true,
5-
"moduleResolution": "node",
6-
"module": "NodeNext",
7-
"target": "ES2015",
8-
"lib": ["ESNext", "DOM"],
9-
"skipLibCheck": true,
10-
"esModuleInterop": true,
11-
"resolveJsonModule": true,
12-
"allowSyntheticDefaultImports": true,
13-
"isolatedModules": true,
14-
"jsx": "react-jsx",
15-
"useDefineForClassFields": true,
16-
"noFallthroughCasesInSwitch": true,
17-
"noUnusedLocals": false,
18-
"noUnusedParameters": false,
19-
"preserveWatchOutput": true,
20-
"strict": true,
21-
"strictNullChecks": true,
22-
"incremental": true,
23-
"noUncheckedIndexedAccess": true,
24-
"noPropertyAccessFromIndexSignature": false,
25-
"allowJs": true,
26-
"outDir": "./dist",
27-
"rootDir": "./transforms",
28-
"moduleDetection": "auto"
29-
},
30-
"include": [
31-
"./transforms/**/*.codemod.ts",
32-
"./transforms/**/*.codemod.js",
33-
"./transforms/**/*.codemod.tsx",
34-
"./transforms/**/*.codemod.jsx",
35-
],
36-
"exclude": ["node_modules", "./dist/**/*"],
37-
"ts-node": {
38-
"transpileOnly": true
39-
}
2+
"extends": "./tsconfig.json",
3+
"compilerOptions": {
4+
"composite": true,
5+
"moduleResolution": "node",
6+
"module": "NodeNext",
7+
"target": "ES2015",
8+
"lib": ["ESNext", "DOM"],
9+
"skipLibCheck": true,
10+
"esModuleInterop": true,
11+
"resolveJsonModule": true,
12+
"allowSyntheticDefaultImports": true,
13+
"isolatedModules": true,
14+
"jsx": "react-jsx",
15+
"useDefineForClassFields": true,
16+
"noFallthroughCasesInSwitch": true,
17+
"noUnusedLocals": false,
18+
"noUnusedParameters": false,
19+
"preserveWatchOutput": true,
20+
"strict": true,
21+
"strictNullChecks": true,
22+
"incremental": true,
23+
"noUncheckedIndexedAccess": true,
24+
"noPropertyAccessFromIndexSignature": false,
25+
"allowJs": true,
26+
"outDir": "./dist",
27+
"rootDir": "./transforms",
28+
"moduleDetection": "auto"
29+
},
30+
"include": [
31+
"./transforms/**/*.codemod.ts",
32+
"./transforms/**/*.codemod.js",
33+
"./transforms/**/*.codemod.tsx",
34+
"./transforms/**/*.codemod.jsx"
35+
],
36+
"exclude": ["node_modules", "./dist/**/*"],
37+
"ts-node": {
38+
"transpileOnly": true
4039
}
41-
40+
}

0 commit comments

Comments
 (0)