Enable eslint-plugin-github for vscode-tests folder
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user