mirror of
https://gitlab.gnome.org/june/top-bar-organizer.git
synced 2026-01-10 16:26:35 +01:00
Other: Disallow omitting curly braces and enforce one true brace style
Do this by updating the ESLint config accordingly and also fix new complaints.
This commit is contained in:
parent
8de94d6b01
commit
cedb54ed64
6 changed files with 44 additions and 19 deletions
|
|
@ -20,6 +20,12 @@ rules:
|
|||
no-unused-vars:
|
||||
- error
|
||||
- argsIgnorePattern: "^_"
|
||||
curly:
|
||||
- error
|
||||
- all
|
||||
brace-style:
|
||||
- error
|
||||
- 1tbs
|
||||
# Rules from GJS Style Guide regarding whitespace.
|
||||
# See here: https://gjs.guide/guides/gjs/style-guide.html#whitespace
|
||||
func-call-spacing:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue