mirror of
https://gitee.com/dify_ai/dify.git
synced 2024-12-02 19:27:48 +08:00
29 lines
594 B
JSON
29 lines
594 B
JSON
|
{
|
||
|
"extends": [
|
||
|
"@antfu",
|
||
|
"plugin:react-hooks/recommended"
|
||
|
],
|
||
|
"rules": {
|
||
|
"@typescript-eslint/consistent-type-definitions": [
|
||
|
"error",
|
||
|
"type"
|
||
|
],
|
||
|
"no-console": "off",
|
||
|
"indent": "off",
|
||
|
"@typescript-eslint/indent": [
|
||
|
"error",
|
||
|
2,
|
||
|
{
|
||
|
"SwitchCase": 1,
|
||
|
"flatTernaryExpressions": false,
|
||
|
"ignoredNodes": [
|
||
|
"PropertyDefinition[decorators]",
|
||
|
"TSUnionType",
|
||
|
"FunctionExpression[params]:has(Identifier[decorators])"
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"react-hooks/exhaustive-deps": "warning"
|
||
|
}
|
||
|
}
|