File tree 2 files changed +4
-6
lines changed
2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 3
3
export const testableUrls = new Map < string , string [ ] > ( ) ;
4
4
5
5
export function addTests ( test : string , urls : string [ ] ) : void {
6
+ // eslint-disable-next-line n/prefer-global/process -- Better not import `process` to avoid bundling its polyfills by mistake
6
7
if ( process . env . NODE_ENV !== 'bundling' ) {
7
8
testableUrls . set ( test , urls ) ;
8
9
}
Original file line number Diff line number Diff line change 49
49
],
50
50
"rules" : {
51
51
"@typescript-eslint/triple-slash-reference" : " off" ,
52
- "@typescript-eslint/dot-notation" : " off" ,
53
- "@typescript-eslint/no-non-null-assertion" : " off" ,
54
- "@typescript-eslint/no-unsafe-member-access" : " off" ,
55
- "@typescript-eslint/naming-convention" : " off" ,
56
- "n/prefer-global/process" : " off"
52
+ "@typescript-eslint/naming-convention" : " off"
57
53
}
58
54
}
59
55
],
60
56
"rules" : {
61
- "camelcase" : " off"
57
+ "camelcase" : " off" ,
58
+ "n/prefer-global/process" : " off"
62
59
}
63
60
},
64
61
"devDependencies" : {
You can’t perform that action at this time.
0 commit comments