WebUI: ensure consistent shorthand syntax

This commit is contained in:
Chocobo1
2025-04-17 19:29:26 +08:00
parent 70dbe9468a
commit 1077cbba2b
2 changed files with 3 additions and 2 deletions

View File

@@ -34,6 +34,7 @@ export default [
"no-undef": "off",
"no-unused-vars": "off",
"no-var": "error",
"object-shorthand": ["error", "consistent"],
"operator-assignment": "error",
"prefer-arrow-callback": "error",
"prefer-const": "error",