mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-03-15 03:53:16 +08:00
🔧 使用type替代interface
This commit is contained in:
@@ -18,6 +18,7 @@ const tsConfigRules = {
|
||||
"@typescript-eslint/no-explicit-any": "off",
|
||||
"@typescript-eslint/no-unused-expressions": ["error", { allowShortCircuit: false }],
|
||||
"@typescript-eslint/array-type": ["error", { "default": "generic" }],
|
||||
"@typescript-eslint/consistent-type-definitions": ["error", "type"],
|
||||
"import/order": [
|
||||
"error",
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user