chore: upgrade biome warn rules to error, deduplicate UserRole

This commit is contained in:
zetaloop
2026-02-20 17:45:53 +08:00
parent 8c690f97a4
commit 87de02b316
2 changed files with 5 additions and 6 deletions
+4 -4
View File
@@ -29,15 +29,15 @@
"rules": {
"recommended": true,
"correctness": {
"noUnusedImports": "warn",
"useExhaustiveDependencies": "warn"
"noUnusedImports": "error",
"useExhaustiveDependencies": "error"
},
"style": {
"noNonNullAssertion": "warn",
"noNonNullAssertion": "error",
"useImportType": "error"
},
"suspicious": {
"noExplicitAny": "warn"
"noExplicitAny": "error"
}
}
},