You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
483 B
Plaintext

{
"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"]
}
}