mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-30 04:29:24 +08:00
30 lines
708 B
JSON
30 lines
708 B
JSON
{
|
|
"env": {
|
|
"browser": true,
|
|
"es2021": true,
|
|
"node": true
|
|
},
|
|
"plugins": ["@typescript-eslint", "react", "react-hooks"],
|
|
"settings": {
|
|
"react": {
|
|
"version": "18.2.0"
|
|
}
|
|
},
|
|
"rules": {
|
|
"@typescript-eslint/no-use-before-define": [
|
|
"warn",
|
|
{
|
|
"functions": false,
|
|
"variables": true
|
|
}
|
|
],
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
"@typescript-eslint/ban-ts-comment": "off",
|
|
"@typescript-eslint/no-empty-function": "off",
|
|
"@typescript-eslint/no-non-null-assertion": "off",
|
|
"react/react-in-jsx-scope": "off",
|
|
"react/no-unescaped-entities": "warn",
|
|
"no-console": ["warn", { "allow": ["warn", "error"] }]
|
|
}
|
|
}
|