mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-23 16:58:06 -06:00
WebUI: remove redundant braces in switch statements
Braces are only required when there are variable/function declarations.
This commit is contained in:
@@ -69,7 +69,8 @@ export default [
|
||||
"Stylistic/semi": "error",
|
||||
"Stylistic/spaced-comment": ["error", "always", { exceptions: ["*"] }],
|
||||
"Unicorn/no-zero-fractions": "error",
|
||||
"Unicorn/prefer-number-properties": "error"
|
||||
"Unicorn/prefer-number-properties": "error",
|
||||
"Unicorn/switch-case-braces": ["error", "avoid"]
|
||||
}
|
||||
}
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user