mirror of
https://gitee.com/dify_ai/dify.git
synced 2024-11-30 02:08:37 +08:00
28 lines
564 B
JSON
28 lines
564 B
JSON
{
|
|
"extends": [
|
|
"next",
|
|
"@antfu"
|
|
],
|
|
"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": "warn"
|
|
}
|
|
} |