mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 04:11:10 -05:00
41 lines
931 B
JSON
41 lines
931 B
JSON
{
|
|
"root": true,
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:react/recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"plugin:react-hooks/recommended"
|
|
],
|
|
"parser": "@typescript-eslint/parser",
|
|
"plugins": ["react", "@typescript-eslint", "react-hooks"],
|
|
"rules": {
|
|
"react/react-in-jsx-scope": "off",
|
|
"@typescript-eslint/explicit-module-boundary-types": "off",
|
|
"@typescript-eslint/no-explicit-any": "warn",
|
|
"react/display-name": "warn",
|
|
"no-case-declarations": "warn",
|
|
"react/no-unescaped-entities": "warn",
|
|
"react/jsx-key": "warn",
|
|
"no-extra-semi": "warn",
|
|
"@typescript-eslint/no-var-requires": "warn",
|
|
"@typescript-eslint/no-unused-vars": [
|
|
"warn",
|
|
{
|
|
"argsIgnorePattern": "^_",
|
|
"varsIgnorePattern": "^_",
|
|
"caughtErrorsIgnorePattern": "^_"
|
|
}
|
|
]
|
|
},
|
|
"settings": {
|
|
"react": {
|
|
"version": "detect"
|
|
}
|
|
},
|
|
"env": {
|
|
"browser": true,
|
|
"es2021": true,
|
|
"node": true
|
|
}
|
|
}
|