task-board/.eslintrc.js
2025-06-24 14:26:42 +04:00

55 lines
1.2 KiB
JavaScript

module.exports = {
"extends": [
"next/core-web-vitals",
"next/typescript"
],
"rules": {
"@typescript-eslint/no-unused-vars": [
"error",
{
"vars": "all",
"varsIgnorePattern": "^_",
"args": "after-used",
"argsIgnorePattern": "^_",
"ignoreRestSiblings": true,
"destructuredArrayIgnorePattern": "^_"
}
],
"no-unused-vars": "off",
"@typescript-eslint/no-explicit-any": "off",
"react/no-unescaped-entities": [
"error",
{
"forbid": [
{
"char": ">",
"alternatives": [
">"
]
},
{
"char": "}",
"alternatives": [
"}"
]
}
]
}
],
"@typescript-eslint/no-empty-object-type": [
"error",
{
"allowInterfaces": "with-single-extends"
}
],
"@typescript-eslint/ban-ts-comment": [
"error",
{
"ts-ignore": "allow-with-description",
"ts-expect-error": "allow-with-description"
}
],
"@next/next/no-img-element": "off",
"jsx-a11y/alt-text": "off"
}
}