mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-23 14:42:03 +03:00
9970138009
Co-authored-by: LongYinan <lynweklm@gmail.com>
21 lines
369 B
JSON
21 lines
369 B
JSON
{
|
|
"categories": {
|
|
"correctness": "error",
|
|
"perf": "error"
|
|
},
|
|
"rules": {
|
|
// allow
|
|
"import/named": "allow",
|
|
"no-await-in-loop": "allow",
|
|
// deny
|
|
"unicorn/prefer-array-some": "error",
|
|
"unicorn/no-useless-promise-resolve-reject": "error",
|
|
"import/no-cycle": [
|
|
"error",
|
|
{
|
|
"ignoreTypes": true
|
|
}
|
|
]
|
|
}
|
|
}
|