Skip to content

Commit 8fcbee6

Browse files
committed
Enable eslint-github-plugin for view folder
1 parent 195ef45 commit 8fcbee6

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,40 @@ module.exports = {
22
env: {
33
browser: true
44
},
5+
plugins: [
6+
"github",
7+
],
58
extends: [
9+
"plugin:github/react",
10+
"plugin:github/recommended",
11+
"plugin:github/typescript",
612
"plugin:react/recommended",
713
"plugin:react-hooks/recommended",
814
],
15+
rules: {
16+
"@typescript-eslint/no-explicit-any": "off",
17+
"@typescript-eslint/no-invalid-this": "off",
18+
"@typescript-eslint/no-shadow": "off",
19+
"camelcase": "off",
20+
"eqeqeq": "off",
21+
"filenames/match-regex": "off",
22+
"i18n-text/no-en": "off",
23+
"import/named": "off",
24+
"import/no-dynamic-require": "off",
25+
"import/no-dynamic-required": "off",
26+
"import/no-namespace": "off",
27+
"import/no-unresolved": "off",
28+
"jsx-a11y/anchor-is-valid": "off",
29+
"jsx-a11y/no-noninteractive-element-interactions": "off",
30+
"jsx-a11y/no-static-element-interactions": "off",
31+
"jsx-a11y/click-events-have-key-events": "off",
32+
"no-console": "off",
33+
"no-invalid-this": "off",
34+
"no-undef": "off",
35+
"no-unused-vars": "off",
36+
"no-shadow": "off",
37+
"github/array-foreach": "off",
38+
},
939
settings: {
1040
react: {
1141
version: 'detect'

0 commit comments

Comments
 (0)