Skip to content

Commit 9d8589e

Browse files
committed
Apply more defaults
1 parent 4d53c12 commit 9d8589e

File tree

33 files changed

+23
-84
lines changed

33 files changed

+23
-84
lines changed

packages/plugin-react-oxc/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
"target": "es2023",
66
"module": "preserve",
77
"moduleResolution": "bundler",
8-
"strict": true,
98
"declaration": true,
109
"sourceMap": true,
1110
"noEmit": true,

packages/plugin-react-swc/playground/base-path/tsconfig.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,12 @@
77
"jsx": "react-jsx",
88
"types": ["vite/client"],
99
"noEmit": true,
10-
"isolatedModules": true,
10+
"verbatimModuleSyntax": true,
1111
"skipLibCheck": true,
1212
"moduleResolution": "bundler",
1313
"allowImportingTsExtensions": true,
14-
"resolveJsonModule": true,
1514

1615
/* Linting */
17-
"strict": true,
1816
"noUnusedLocals": true,
1917
"noUnusedParameters": true,
2018
"noFallthroughCasesInSwitch": true,

packages/plugin-react-swc/playground/class-components/tsconfig.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,12 @@
77
"jsx": "react-jsx",
88
"types": ["vite/client"],
99
"noEmit": true,
10-
"isolatedModules": true,
10+
"verbatimModuleSyntax": true,
1111
"skipLibCheck": true,
1212
"moduleResolution": "bundler",
1313
"allowImportingTsExtensions": true,
14-
"resolveJsonModule": true,
1514

1615
/* Linting */
17-
"strict": true,
1816
"noUnusedLocals": true,
1917
"noUnusedParameters": true,
2018
"noFallthroughCasesInSwitch": true,

packages/plugin-react-swc/playground/decorators/tsconfig.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,13 @@
77
"jsx": "react-jsx",
88
"types": ["vite/client"],
99
"noEmit": true,
10-
"isolatedModules": true,
10+
"verbatimModuleSyntax": true,
1111
"skipLibCheck": true,
1212
"experimentalDecorators": true,
1313
"moduleResolution": "bundler",
1414
"allowImportingTsExtensions": true,
15-
"resolveJsonModule": true,
1615

1716
/* Linting */
18-
"strict": true,
1917
"noUnusedLocals": true,
2018
"noUnusedParameters": true,
2119
"noFallthroughCasesInSwitch": true,

packages/plugin-react-swc/playground/emotion/tsconfig.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,12 @@
88
"jsxImportSource": "@emotion/react",
99
"types": ["vite/client", "@emotion/react"],
1010
"noEmit": true,
11-
"isolatedModules": true,
11+
"verbatimModuleSyntax": true,
1212
"skipLibCheck": true,
1313
"moduleResolution": "bundler",
1414
"allowImportingTsExtensions": true,
15-
"resolveJsonModule": true,
1615

1716
/* Linting */
18-
"strict": true,
1917
"noUnusedLocals": true,
2018
"noUnusedParameters": true,
2119
"noFallthroughCasesInSwitch": true,

packages/plugin-react-swc/playground/hmr/tsconfig.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,12 @@
77
"jsx": "react-jsx",
88
"types": ["vite/client"],
99
"noEmit": true,
10-
"isolatedModules": true,
10+
"verbatimModuleSyntax": true,
1111
"skipLibCheck": true,
1212
"moduleResolution": "bundler",
1313
"allowImportingTsExtensions": true,
14-
"resolveJsonModule": true,
1514

1615
/* Linting */
17-
"strict": true,
1816
"noUnusedLocals": true,
1917
"noUnusedParameters": true,
2018
"noFallthroughCasesInSwitch": true,

packages/plugin-react-swc/playground/mdx/tsconfig.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,12 @@
77
"jsx": "react-jsx",
88
"types": ["vite/client"],
99
"noEmit": true,
10-
"isolatedModules": true,
10+
"verbatimModuleSyntax": true,
1111
"skipLibCheck": true,
1212
"moduleResolution": "bundler",
1313
"allowImportingTsExtensions": true,
14-
"resolveJsonModule": true,
1514

1615
/* Linting */
17-
"strict": true,
1816
"noUnusedLocals": true,
1917
"noUnusedParameters": true,
2018
"noFallthroughCasesInSwitch": true,

packages/plugin-react-swc/playground/react-18/tsconfig.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,12 @@
77
"jsx": "react-jsx",
88
"types": ["vite/client"],
99
"noEmit": true,
10-
"isolatedModules": true,
10+
"verbatimModuleSyntax": true,
1111
"skipLibCheck": true,
1212
"moduleResolution": "bundler",
1313
"allowImportingTsExtensions": true,
14-
"resolveJsonModule": true,
1514

1615
/* Linting */
17-
"strict": true,
1816
"noUnusedLocals": true,
1917
"noUnusedParameters": true,
2018
"noFallthroughCasesInSwitch": true,

packages/plugin-react-swc/playground/shadow-export/tsconfig.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,12 @@
77
"jsx": "react-jsx",
88
"types": ["vite/client"],
99
"noEmit": true,
10-
"isolatedModules": true,
10+
"verbatimModuleSyntax": true,
1111
"skipLibCheck": true,
1212
"moduleResolution": "bundler",
1313
"allowImportingTsExtensions": true,
14-
"resolveJsonModule": true,
1514

1615
/* Linting */
17-
"strict": true,
1816
"noUnusedLocals": true,
1917
"noUnusedParameters": true,
2018
"noFallthroughCasesInSwitch": true,

packages/plugin-react-swc/playground/styled-components/tsconfig.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,12 @@
77
"jsx": "react-jsx",
88
"types": ["vite/client"],
99
"noEmit": true,
10-
"isolatedModules": true,
10+
"verbatimModuleSyntax": true,
1111
"skipLibCheck": true,
1212
"moduleResolution": "bundler",
1313
"allowImportingTsExtensions": true,
14-
"resolveJsonModule": true,
1514

1615
/* Linting */
17-
"strict": true,
1816
"noUnusedLocals": true,
1917
"noUnusedParameters": true,
2018
"noFallthroughCasesInSwitch": true,

0 commit comments

Comments
 (0)