mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1248855 - [webext] Follow-up: Add matching "array-bracket-spacing" rule. r=me
MozReview-Commit-ID: HALx5dbLxpj
This commit is contained in:
parent
4b601293c3
commit
3c2efbc0cf
@ -43,9 +43,15 @@
|
||||
// Always require spacing around a single line block
|
||||
"block-spacing": 1,
|
||||
|
||||
// Forbid spaces inside the square brackets of array literals.
|
||||
"array-bracket-spacing": [2, "never"],
|
||||
|
||||
// Forbid spaces inside the curly brackets of object literals.
|
||||
"object-curly-spacing": [2, "never"],
|
||||
|
||||
// No space padding in parentheses
|
||||
"space-in-parens": [2, "never"],
|
||||
|
||||
// Enforce one true brace style (opening brace on the same line) and avoid
|
||||
// start and end braces on the same line.
|
||||
"brace-style": [2, "1tbs", {"allowSingleLine": true}],
|
||||
@ -203,13 +209,9 @@
|
||||
// Require spaces before finally, catch, etc.
|
||||
"space-before-keywords": [2, "always"],
|
||||
|
||||
// No space padding in parentheses
|
||||
"space-in-parens": [2, "never"],
|
||||
|
||||
// Require spaces around operators, except for a|0.
|
||||
"space-infix-ops": [2, {"int32Hint": true}],
|
||||
|
||||
|
||||
// Require spaces after return, throw and case
|
||||
"space-return-throw-case": 2,
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user