mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-12 09:18:14 +08:00
🧑💻 优化 rules
This commit is contained in:
@@ -21,6 +21,8 @@ plugins:
|
||||
- vue
|
||||
- prettier
|
||||
rules:
|
||||
# normal
|
||||
array-callback-return: warn
|
||||
# TypeScript
|
||||
"@typescript-eslint/strict-boolean-expressions": off
|
||||
"@typescript-eslint/consistent-type-assertions":
|
||||
@@ -32,5 +34,6 @@ rules:
|
||||
format: ["camelCase", "UPPER_CASE", "PascalCase", "snake_case"]
|
||||
leadingUnderscore: "allow"
|
||||
trailingUnderscore: "allow"
|
||||
"@typescript-eslint/no-non-null-assertion": warn
|
||||
# Vue
|
||||
"vue/multi-word-component-names": off
|
||||
|
||||
Reference in New Issue
Block a user