Skip to content

Commit 206f2f8

Browse files
committed
More
1 parent d782858 commit 206f2f8

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

collector.ts

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
export const testableUrls = new Map<string, string[]>();
44

55
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
67
if (process.env.NODE_ENV !== 'bundling') {
78
testableUrls.set(test, urls);
89
}

package.json

+3-6
Original file line numberDiff line numberDiff line change
@@ -49,16 +49,13 @@
4949
],
5050
"rules": {
5151
"@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"
5753
}
5854
}
5955
],
6056
"rules": {
61-
"camelcase": "off"
57+
"camelcase": "off",
58+
"n/prefer-global/process": "off"
6259
}
6360
},
6461
"devDependencies": {

0 commit comments

Comments
 (0)