Skip to content

Commit 99bb04b

Browse files
committed
Enable eslint-plugin-github for vscode-tests folder
1 parent 8fcbee6 commit 99bb04b

1 file changed

Lines changed: 25 additions & 2 deletions

File tree

extensions/ql-vscode/src/vscode-tests/.eslintrc.js

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ module.exports = {
55
env: {
66
jest: true,
77
},
8+
plugins: [
9+
"github",
10+
],
11+
extends: [
12+
"plugin:github/react",
13+
"plugin:github/recommended",
14+
"plugin:github/typescript",
15+
],
816
rules: {
917
"@typescript-eslint/ban-types": [
1018
"error",
@@ -18,5 +26,20 @@ module.exports = {
1826
},
1927
},
2028
],
21-
},
22-
};
29+
"@typescript-eslint/no-explicit-any": "off",
30+
"@typescript-eslint/no-shadow": "off",
31+
"@typescript-eslint/no-invalid-this": "off",
32+
"eqeqeq": "off",
33+
"filenames/match-regex": "off",
34+
"filenames/match-regexp": "off",
35+
"i18n-text/no-en": "off",
36+
"import/no-anonymous-default-export": "off",
37+
"import/no-dynamic-require": "off",
38+
"import/no-mutable-exports": "off",
39+
"import/no-namespace": "off",
40+
"import/no-unresolved": "off",
41+
"no-console": "off",
42+
"github/array-foreach": "off",
43+
"github/no-then": "off"
44+
}
45+
}

0 commit comments

Comments
 (0)