diff --git a/extensions/ql-vscode/src/vscode-tests/.eslintrc.js b/extensions/ql-vscode/src/vscode-tests/.eslintrc.js index f4495e803..b0b2f4fc3 100644 --- a/extensions/ql-vscode/src/vscode-tests/.eslintrc.js +++ b/extensions/ql-vscode/src/vscode-tests/.eslintrc.js @@ -5,6 +5,14 @@ module.exports = { env: { jest: true, }, + plugins: [ + "github", + ], + extends: [ + "plugin:github/react", + "plugin:github/recommended", + "plugin:github/typescript", + ], rules: { "@typescript-eslint/ban-types": [ "error", @@ -18,5 +26,20 @@ module.exports = { }, }, ], - }, -}; + "@typescript-eslint/no-explicit-any": "off", + "@typescript-eslint/no-shadow": "off", + "@typescript-eslint/no-invalid-this": "off", + "eqeqeq": "off", + "filenames/match-regex": "off", + "filenames/match-regexp": "off", + "i18n-text/no-en": "off", + "import/no-anonymous-default-export": "off", + "import/no-dynamic-require": "off", + "import/no-mutable-exports": "off", + "import/no-namespace": "off", + "import/no-unresolved": "off", + "no-console": "off", + "github/array-foreach": "off", + "github/no-then": "off" + } +}