Skip to content

Commit 4fb02a8

Browse files
committed
chore: prettier.js on all files
1 parent fc7b553 commit 4fb02a8

5 files changed

+14
-34
lines changed

tsconfig.build-esm.json

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"extends":"./tsconfig.build.json",
2+
"extends": "./tsconfig.build.json",
33
"compilerOptions": {
44
"declarationDir": "./dist/esm",
55
"outDir": "./dist/esm",
66
"target": "esnext",
77
"baseUrl": "./src",
88
"paths": {
9-
"shared/*": ["shared/*"],
9+
"shared/*": ["shared/*"]
1010
}
1111
},
1212
"tsc-alias": {
@@ -16,8 +16,7 @@
1616
"exampleReplacer": {
1717
"enabled": true,
1818
"file": "./build/browserReplacer.js"
19-
},
19+
}
2020
}
2121
}
2222
}
23-

tsconfig.build-node-gpu.json

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
2-
"extends":"./tsconfig.build.json",
2+
"extends": "./tsconfig.build.json",
33
"compilerOptions": {
44
"declarationDir": "./dist/node",
55
"outDir": "./dist/node",
66
"module": "commonjs",
77
"target": "esnext",
88
"baseUrl": "./src",
99
"paths": {
10-
"shared/*": ["shared-node/*"],
10+
"shared/*": ["shared-node/*"]
1111
}
1212
},
1313
"tsc-alias": {
@@ -17,8 +17,7 @@
1717
"exampleReplacer": {
1818
"enabled": true,
1919
"file": "./build/nodeGpuReplacer.js"
20-
},
20+
}
2121
}
2222
}
2323
}
24-

tsconfig.build-node.json

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
2-
"extends":"./tsconfig.build.json",
2+
"extends": "./tsconfig.build.json",
33
"compilerOptions": {
44
"declarationDir": "./dist/node",
55
"outDir": "./dist/node",
66
"module": "commonjs",
77
"target": "esnext",
88
"baseUrl": "./src",
99
"paths": {
10-
"shared/*": ["shared-node/*"],
10+
"shared/*": ["shared-node/*"]
1111
}
1212
},
1313
"tsc-alias": {
@@ -17,8 +17,7 @@
1717
"exampleReplacer": {
1818
"enabled": true,
1919
"file": "./build/nodeReplacer.js"
20-
},
20+
}
2121
}
2222
}
2323
}
24-

tsconfig.build.json

+5-20
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,12 @@
44
"declarationDir": "./dist/esm",
55
"outDir": "./dist/esm",
66
"target": "esnext",
7-
"lib": [
8-
"dom",
9-
"dom.iterable",
10-
"esnext"
11-
],
7+
"lib": ["dom", "dom.iterable", "esnext"],
128
"allowJs": false,
139
"skipLibCheck": true,
1410
"esModuleInterop": true,
1511
"allowSyntheticDefaultImports": true,
16-
// "strict": false,
1712
"forceConsistentCasingInFileNames": true,
18-
// "downlevelIteration": true,
1913
"module": "esnext",
2014
"moduleResolution": "node",
2115
"resolveJsonModule": true,
@@ -24,17 +18,8 @@
2418
"jsx": "react",
2519
"strict": true /* Enable all strict type-checking options. */,
2620
"noImplicitAny": true /* Raise error on expressions and declarations with an implied 'any' type. */,
27-
// "noUnusedLocals": true /* Report errors on unused locals. */,
28-
// "noUnusedParameters": true /* Report errors on unused parameters. */,
29-
"noFallthroughCasesInSwitch": true /* Report errors for fallthrough cases in switch statement. */,
21+
"noFallthroughCasesInSwitch": true /* Report errors for fallthrough cases in switch statement. */
3022
},
31-
"include": [
32-
"src/**/*.ts",
33-
// "src/**/*.tsx",
34-
],
35-
"exclude": [
36-
"docs",
37-
"**/*.test.ts",
38-
"**/*.test.tsx",
39-
]
40-
}
23+
"include": ["src/**/*.ts"],
24+
"exclude": ["docs", "**/*.test.ts", "**/*.test.tsx"]
25+
}

tsconfig.json

-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
"outDir": "./dist" /* Redirect output structure to the directory. */,
1111
"strict": true /* Enable all strict type-checking options. */,
1212
"noImplicitAny": true /* Raise error on expressions and declarations with an implied 'any' type. */,
13-
// "noUnusedLocals": true /* Report errors on unused locals. */,
14-
// "noUnusedParameters": true /* Report errors on unused parameters. */,
1513
"noFallthroughCasesInSwitch": true /* Report errors for fallthrough cases in switch statement. */,
1614
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */,
1715
"resolveJsonModule": true /* Include modules imported with '.json' extension */,

0 commit comments

Comments
 (0)