mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-11 22:51:26 +00:00
37 lines
789 B
JavaScript
37 lines
789 B
JavaScript
import { reactConfig } from "@roo-code/config-eslint/react"
|
|
|
|
/** @type {import("eslint").Linter.Config} */
|
|
export default [
|
|
...reactConfig,
|
|
{
|
|
rules: {
|
|
"@typescript-eslint/no-unused-vars": "off",
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
"react/prop-types": "off",
|
|
"react/display-name": "off",
|
|
},
|
|
},
|
|
{
|
|
files: ["src/components/chat/ChatRow.tsx", "src/components/settings/ModelInfoView.tsx"],
|
|
rules: {
|
|
"react/jsx-key": "off",
|
|
},
|
|
},
|
|
{
|
|
files: [
|
|
"src/components/chat/ChatRow.tsx",
|
|
"src/components/chat/ChatView.tsx",
|
|
"src/components/chat/BrowserSessionRow.tsx",
|
|
"src/components/history/useTaskSearch.ts",
|
|
],
|
|
rules: {
|
|
"no-case-declarations": "off",
|
|
},
|
|
},
|
|
{
|
|
files: ["src/__mocks__/**/*.js"],
|
|
rules: {
|
|
"no-undef": "off",
|
|
},
|
|
},
|
|
]
|