This repository was archived by the owner on Sep 9, 2024. It is now read-only.
File tree 5 files changed +44
-24
lines changed 5 files changed +44
-24
lines changed Original file line number Diff line number Diff line change 24
24
' @typescript-eslint/no-unused-vars ' :
25
25
- error
26
26
- argsIgnorePattern : ^_
27
+ # See https://zenn.dev/teppeis/articles/2023-04-typescript-5_0-verbatim-module-syntax for enabling reason
28
+ ' @typescript-eslint/consistent-type-imports ' : ' error'
29
+ ' @typescript-eslint/no-import-type-side-effects ' : ' error'
27
30
parser : ' @typescript-eslint/parser'
28
31
parserOptions :
29
32
ecmaVersion : 12
Original file line number Diff line number Diff line change 18
18
"zod" : " ^3.21.4"
19
19
},
20
20
"devDependencies" : {
21
- "@tsconfig/node18-strictest-esm" : " ^1.0.1" ,
22
21
"@types/node" : " ^18.15.11" ,
23
22
"@types/react" : " ^18.0.34" ,
24
23
"@types/react-dom" : " ^18.0.11" ,
28
27
"eslint" : " ^8.38.0" ,
29
28
"eslint-plugin-deprecation" : " ^1.4.1" ,
30
29
"ts-node-test" : " ^0.4.1" ,
31
- "typescript" : " ^4.9.5 " ,
30
+ "typescript" : " ^5.0.4 " ,
32
31
"vite" : " ^4.2.1"
33
32
}
34
33
}
Original file line number Diff line number Diff line change
1
+ {
2
+ // Import from https://github.com/tsconfig/bases/commit/0ae4791797d8ba3dd2bca9aca880eb2d3e30e6fb
3
+ // To avoid issues around tsconfig.extends array
4
+ "$schema" : " https://json.schemastore.org/tsconfig" ,
5
+ "display" : " Node 18 + ESM + Strictest" ,
6
+ "compilerOptions" : {
7
+ "lib" : [
8
+ " es2022"
9
+ ],
10
+ "module" : " es2022" ,
11
+ "target" : " es2022" ,
12
+ "strict" : true ,
13
+ "esModuleInterop" : true ,
14
+ "skipLibCheck" : true ,
15
+ "forceConsistentCasingInFileNames" : true ,
16
+ "moduleResolution" : " node" ,
17
+ "allowUnusedLabels" : false ,
18
+ "allowUnreachableCode" : false ,
19
+ "exactOptionalPropertyTypes" : true ,
20
+ "noFallthroughCasesInSwitch" : true ,
21
+ "noImplicitOverride" : true ,
22
+ "noImplicitReturns" : true ,
23
+ "noPropertyAccessFromIndexSignature" : true ,
24
+ "noUncheckedIndexedAccess" : true ,
25
+ "noUnusedLocals" : true ,
26
+ "noUnusedParameters" : true ,
27
+ "verbatimModuleSyntax" : true ,
28
+ "checkJs" : true
29
+ }
30
+ }
Original file line number Diff line number Diff line change 1
1
{
2
- "extends" : " @tsconfig/node18-strictest-esm/tsconfig.json" ,
2
+ // TODO: Use tsconfig/base after all tools support tsconfig.extends array
3
+ "extends" : " ./tsconfig.base.json" ,
3
4
"compilerOptions" : {
4
5
// https://www.typescriptlang.org/docs/handbook/esm-node.html
5
6
"module" : " node16" ,
You can’t perform that action at this time.
0 commit comments