Enable eslint-plugin-github for vscode-tests folder

This commit is contained in:
Elena Tanasoiu
2022-11-24 21:01:54 +00:00
parent 8fcbee6ad4
commit 99bb04b458

View File

@@ -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"
}
}