plane/web/.eslintrc.js

17 lines
534 B
JavaScript
Raw Normal View History

module.exports = {
2023-08-23 10:40:36 +00:00
extends: ["next", "prettier"],
parser: "@typescript-eslint/parser",
plugins: ["react", "@typescript-eslint"],
rules: {
2023-08-23 10:40:36 +00:00
"@next/next/no-html-link-for-pages": "off",
"react/jsx-key": "off",
"prefer-const": "error",
"no-irregular-whitespace": "error",
"no-trailing-spaces": "error",
"no-duplicate-imports": "error",
"arrow-body-style": ["error", "as-needed"],
"react/self-closing-comp": ["error", { component: true, html: true }],
"@next/next/no-img-element": "off",
},
};