opentofu.org/.eslintrc.js
Christian Mesh c74c653a5f
Ephemeral blog post (#384)
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>
2025-09-29 06:25:50 -04:00

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",
},
},
],
};