Files
ragflow/web/.oxlintrc.json

30 lines
645 B
JSON

{
"env": {
"browser": true,
"es2021": true,
"node": true
},
"plugins": ["typescript", "react"],
"settings": {
"react": {
"version": "18.2.0"
}
},
"rules": {
"typescript/no-use-before-define": [
"warn",
{
"functions": false,
"variables": true
}
],
"typescript/no-explicit-any": "off",
"typescript/ban-ts-comment": "off",
"typescript/no-empty-function": "off",
"typescript/no-non-null-assertion": "off",
"react/react-in-jsx-scope": "off",
"react/no-unescaped-entities": "warn",
"no-console": ["warn", { "allow": ["warn", "error"] }]
}
}