import/no-unused-modules seems to have been removed in more recent oxlint versions. Remove it here to unblock oxlint upgrades.
26 lines
708 B
JSON
26 lines
708 B
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/oxc-project/oxc/main/npm/oxlint/configuration_schema.json",
|
|
"plugins": ["react", "react-perf", "jsx-a11y", "typescript", "import"],
|
|
"rules": {
|
|
"no-debugger": "error",
|
|
"@typescript-eslint/no-explicit-any": "error",
|
|
"@typescript-eslint/no-unused-vars": "error"
|
|
},
|
|
"ignorePatterns": [
|
|
"node_modules",
|
|
"dist",
|
|
"protobufs",
|
|
"**/locales/*-*/*.json",
|
|
"**/packages/ui/"
|
|
],
|
|
"overrides": [
|
|
{
|
|
"files": ["**/*.test.ts", "**/*.test.tsx", "**/__tests__/**/*.{ts,tsx}"],
|
|
"rules": {
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
"@typescript-eslint/no-non-null-assertion": "off"
|
|
}
|
|
}
|
|
]
|
|
}
|