mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
b9c935092a
* eslint fixes * lint rules added
23 lines
682 B
JavaScript
23 lines
682 B
JavaScript
module.exports = {
|
|
extends: ["next", "turbo", "prettier"],
|
|
parser: "@typescript-eslint/parser",
|
|
plugins: ["react", "@typescript-eslint"],
|
|
settings: {
|
|
next: {
|
|
rootDir: ["web/", "space/", "packages/*/"],
|
|
},
|
|
},
|
|
rules: {
|
|
"@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",
|
|
"@typescript-eslint/no-unused-vars": ["warn"],
|
|
},
|
|
};
|