mirror of
https://github.com/opentofu/opentofu.org.git
synced 2026-01-11 19:56:26 +00:00
Signed-off-by: Christian Mesh <christianmesh1@gmail.com> Signed-off-by: James Humphries <james@james-humphries.co.uk> Co-authored-by: James Humphries <James@james-humphries.co.uk> Co-authored-by: Ilia Gogotchuri <ilia.gogotchuri0@gmail.com>
32 lines
860 B
JavaScript
32 lines
860 B
JavaScript
module.exports = {
|
|
extends: [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"plugin:react/recommended",
|
|
"plugin:jsx-a11y/recommended",
|
|
"plugin:react-hooks/recommended",
|
|
],
|
|
parser: "@typescript-eslint/parser",
|
|
plugins: ["react", "jsx-a11y", "react-hooks", "@typescript-eslint"],
|
|
root: true,
|
|
env: {
|
|
browser: true,
|
|
commonjs: true,
|
|
node: true,
|
|
},
|
|
rules: {
|
|
"react/prop-types": "off",
|
|
"react/no-unescaped-entities": ["error", { forbid: [">", "}"] }],
|
|
"jsx-a11y/click-events-have-key-events": "off",
|
|
"jsx-a11y/no-static-element-interactions": "off",
|
|
"max-len": ["error", { code: 200 }],
|
|
},
|
|
overrides: [
|
|
{
|
|
files: ["docusaurus.config.js", "sync-supporters.js", "plugins/*.js"],
|
|
rules: {
|
|
"@typescript-eslint/no-var-requires": "off",
|
|
},
|
|
},
|
|
],
|
|
};
|