mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
35 lines
797 B
JavaScript
35 lines
797 B
JavaScript
import { config } from "@roo-code/config-eslint/base"
|
|
|
|
/** @type {import("eslint").Linter.Config} */
|
|
export default [
|
|
...config,
|
|
{
|
|
rules: {
|
|
// TODO: These should be fixed and the rules re-enabled.
|
|
"no-regex-spaces": "off",
|
|
"no-useless-escape": "off",
|
|
"no-empty": "off",
|
|
"prefer-const": "off",
|
|
|
|
"@typescript-eslint/no-unused-vars": "off",
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
"@typescript-eslint/no-require-imports": "off",
|
|
"@typescript-eslint/ban-ts-comment": "off",
|
|
},
|
|
},
|
|
{
|
|
files: ["core/assistant-message/presentAssistantMessage.ts", "core/webview/webviewMessageHandler.ts"],
|
|
rules: {
|
|
"no-case-declarations": "off",
|
|
},
|
|
},
|
|
{
|
|
files: ["__mocks__/**/*.js"],
|
|
rules: {
|
|
"no-undef": "off",
|
|
},
|
|
},
|
|
{
|
|
ignores: ["webview-ui", "out"],
|
|
},
|
|
]
|