File tree Expand file tree Collapse file tree 4 files changed +24
-14
lines changed
src/rules/utils/__tests__ Expand file tree Collapse file tree 4 files changed +24
-14
lines changed Original file line number Diff line number Diff line change 114
114
"@schemastore/package" : " ^0.0.10" ,
115
115
"@semantic-release/changelog" : " ^6.0.0" ,
116
116
"@semantic-release/git" : " ^10.0.0" ,
117
- "@tsconfig/node12 " : " ^12 .0.0" ,
117
+ "@tsconfig/node14 " : " ^14 .0.0" ,
118
118
"@types/dedent" : " ^0.7.0" ,
119
119
"@types/jest" : " ^29.0.0" ,
120
120
"@types/node" : " ^14.17.0" ,
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ const rule = createRule({
76
76
messageId : 'details' ,
77
77
node,
78
78
data : {
79
- data : JSON . stringify ( sorted , ( key , value ) => {
79
+ data : JSON . stringify ( sorted , ( _key , value ) => {
80
80
if ( isNode ( value ) ) {
81
81
if ( isSupportedAccessor ( value ) ) {
82
82
return getAccessorValue ( value ) ;
Original file line number Diff line number Diff line change 1
1
{
2
- "extends" : " @tsconfig/node12 /tsconfig.json" ,
2
+ "extends" : " @tsconfig/node14 /tsconfig.json" ,
3
3
"compilerOptions" : {
4
- "moduleResolution" : " node" ,
5
- "module" : " commonjs" ,
6
4
"noEmit" : true ,
5
+ "stripInternal" : true ,
6
+
7
+ /* Additional Checks */
8
+ "noUnusedLocals" : true ,
9
+ "noUnusedParameters" : true ,
10
+ "noImplicitOverride" : true ,
7
11
"noImplicitReturns" : true ,
12
+ "noFallthroughCasesInSwitch" : true ,
13
+
14
+ "strict" : true ,
8
15
"esModuleInterop" : true ,
9
- "resolveJsonModule" : true
16
+ "resolveJsonModule" : true ,
17
+ "isolatedModules" : true ,
18
+ "skipLibCheck" : true , // until we can upgrade @typescript-eslint
19
+ "forceConsistentCasingInFileNames" : true
10
20
},
11
21
"include" : [" src/**/*" ]
12
22
}
Original file line number Diff line number Diff line change @@ -2720,20 +2720,20 @@ __metadata:
2720
2720
languageName : node
2721
2721
linkType : hard
2722
2722
2723
- " @tsconfig/node12@npm:^12.0.0 " :
2724
- version : 12.1.3
2725
- resolution : " @tsconfig/node12@npm:12.1.3"
2726
- checksum : 139daeaf3c7f18adc320181f7d57046424cd321582d30d387340479f0111b33173c8ce4b16fc6221d6912c0488eb21dde706cf3b0f91c72943180a13cfc30323
2727
- languageName : node
2728
- linkType : hard
2729
-
2730
2723
" @tsconfig/node14@npm:^1.0.0 " :
2731
2724
version : 1.0.3
2732
2725
resolution : " @tsconfig/node14@npm:1.0.3"
2733
2726
checksum : 19275fe80c4c8d0ad0abed6a96dbf00642e88b220b090418609c4376e1cef81bf16237bf170ad1b341452feddb8115d8dd2e5acdfdea1b27422071163dc9ba9d
2734
2727
languageName : node
2735
2728
linkType : hard
2736
2729
2730
+ " @tsconfig/node14@npm:^14.0.0 " :
2731
+ version : 14.1.2
2732
+ resolution : " @tsconfig/node14@npm:14.1.2"
2733
+ checksum : f5934cebc6c8790b28a145d8abbafcb0bd23a405ebcb790bd9f524a2750757d5675b418583bddaed760894a18a0a59a8cbfec1979c90e388d7ad784a9519193f
2734
+ languageName : node
2735
+ linkType : hard
2736
+
2737
2737
" @tsconfig/node16@npm:^1.0.2 " :
2738
2738
version : 1.0.4
2739
2739
resolution : " @tsconfig/node16@npm:1.0.4"
@@ -5055,7 +5055,7 @@ __metadata:
5055
5055
" @schemastore/package " : ^0.0.10
5056
5056
" @semantic-release/changelog " : ^6.0.0
5057
5057
" @semantic-release/git " : ^10.0.0
5058
- " @tsconfig/node12 " : ^12 .0.0
5058
+ " @tsconfig/node14 " : ^14 .0.0
5059
5059
" @types/dedent " : ^0.7.0
5060
5060
" @types/jest " : ^29.0.0
5061
5061
" @types/node " : ^14.17.0
You can’t perform that action at this time.
0 commit comments