2026-03-25 20:46:57 -07:00
|
|
|
{
|
2026-03-25 21:16:08 -07:00
|
|
|
"root": true,
|
|
|
|
|
"extends": ["next/core-web-vitals", "plugin:@typescript-eslint/recommended"],
|
|
|
|
|
"parser": "@typescript-eslint/parser",
|
|
|
|
|
"parserOptions": {
|
|
|
|
|
"ecmaVersion": 2022,
|
|
|
|
|
"sourceType": "module",
|
|
|
|
|
"ecmaFeatures": { "jsx": true }
|
|
|
|
|
},
|
|
|
|
|
"plugins": ["@typescript-eslint"],
|
2026-03-25 20:46:57 -07:00
|
|
|
"rules": {
|
2026-03-25 21:16:08 -07:00
|
|
|
"@typescript-eslint/no-explicit-any": "error",
|
|
|
|
|
"@typescript-eslint/no-unused-vars": [
|
|
|
|
|
"warn",
|
|
|
|
|
{ "argsIgnorePattern": "^_", "varsIgnorePattern": "^_" }
|
|
|
|
|
],
|
2026-03-25 20:46:57 -07:00
|
|
|
"@typescript-eslint/no-empty-object-type": "off",
|
2026-03-25 21:16:08 -07:00
|
|
|
"@typescript-eslint/no-require-imports": "off",
|
|
|
|
|
"no-console": "error",
|
|
|
|
|
"jsx-a11y/label-has-associated-control": "error",
|
|
|
|
|
"react/no-unescaped-entities": "error",
|
|
|
|
|
"import/order": [
|
|
|
|
|
"error",
|
|
|
|
|
{
|
|
|
|
|
"groups": ["builtin", "external", "internal", "parent", "sibling", "index"],
|
|
|
|
|
"newlines-between": "always",
|
|
|
|
|
"alphabetize": { "order": "asc", "caseInsensitive": true },
|
|
|
|
|
"pathGroups": [
|
|
|
|
|
{ "pattern": "@/**", "group": "internal", "position": "after" }
|
|
|
|
|
],
|
|
|
|
|
"pathGroupsExcludedImportTypes": ["builtin"]
|
|
|
|
|
}
|
|
|
|
|
]
|
2026-03-25 20:46:57 -07:00
|
|
|
}
|
|
|
|
|
}
|