🔧 使用Array替代[]

This commit is contained in:
BTMuli
2025-12-23 01:27:22 +08:00
parent e780db9936
commit b301d2393d

View File

@@ -17,6 +17,7 @@ const tsConfigRules = {
"@typescript-eslint/strict-boolean-expressions": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unused-expressions": ["error", { allowShortCircuit: false }],
"@typescript-eslint/array-type": ["error", { "default": "generic" }],
"import/order": [
"error",
{