Files
stripstream/.eslintrc.json
Julien Froidefond a4b521fe2e fix: lint type import
2025-03-02 14:02:23 +01:00

41 lines
1.1 KiB
JSON

{
"extends": ["next/core-web-vitals", "prettier"],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "unused-imports"],
"rules": {
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": [
"error",
{
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_",
"caughtErrorsIgnorePattern": "^_"
}
],
"no-console": [
"warn",
{
"allow": ["warn", "error"]
}
],
"@next/next/no-html-link-for-pages": "off",
"react/no-unescaped-entities": "off",
"no-unreachable": "error",
"no-unused-expressions": "warn",
"no-unused-private-class-members": "warn",
"unused-imports/no-unused-imports": "error",
"unused-imports/no-unused-vars": [
"warn",
{
"vars": "all",
"varsIgnorePattern": "^_",
"args": "after-used",
"argsIgnorePattern": "^_"
}
],
"no-empty-function": "warn",
"no-empty": ["warn", { "allowEmptyCatch": true }],
"@typescript-eslint/consistent-type-imports": ["error", { "prefer": "type-imports" }]
}
}