lycx-hx/.eslintrc

19 lines
483 B
Plaintext
Raw Permalink Normal View History

2024-10-21 09:05:15 +08:00
{
"extends": "@antfu",
"rules": {
// if else try catch 风格
// ```
// try { try {
// loading() loading()
// } ==> } catch (e) {
// catch (e) { hideLoading()
// hideLoading() }
// }
// ```
"@typescript-eslint/brace-style": ["error", "1tbs"],
// if else 必须添加{} if()do() => if(){ do() }
"curly":["error", "multi-line"]
}
}