style: 💄 移除空行、优化注释

This commit is contained in:
ray
2025-02-12 17:22:08 +08:00
parent f5dbff0d9e
commit 94c815eb58
4 changed files with 1 additions and 4 deletions

View File

@@ -49,7 +49,7 @@ export default [
"no-unused-vars": [
"error",
{
argsIgnorePattern: "^_", // 忽略以 _ 开头的变量未使用警告
argsIgnorePattern: "^_", // 忽略参数名以 _ 开头的参数未使用警告
varsIgnorePattern: "^[A-Z0-9_]+$", // 忽略变量名为大写字母、数字或下划线组合的未使用警告(枚举定义未使用场景)
ignoreRestSiblings: true, // 忽略解构赋值中同级未使用变量的警告
},