mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 19:59:50 +08:00
30 lines
599 B
JSON
30 lines
599 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",
|
|
"react/display-name": "warn"
|
|
}
|
|
}
|