mirror of
https://gitlab.gnome.org/june/top-bar-organizer.git
synced 2026-01-11 16:53:51 +01:00
Other: Require trailing commas for multiline for most
Require trailing commas for multiline for arrays, objects, imports and exports and disallow trailing commas for functions. Do this by updating the ESLint config and fixing new complaints. The reason for this change are the resulting future cleaner version diffs. Also see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Trailing_commas https://eslint.org/docs/latest/rules/comma-dangle
This commit is contained in:
parent
88e510d54e
commit
d903274d73
6 changed files with 22 additions and 15 deletions
|
|
@ -21,13 +21,13 @@ export default class PrefsBoxOrderListBox extends Gtk.ListBox {
|
|||
"The box order this PrefsBoxOrderListBox is associated with.",
|
||||
GObject.ParamFlags.READWRITE,
|
||||
""
|
||||
)
|
||||
),
|
||||
},
|
||||
Signals: {
|
||||
"row-move": {
|
||||
param_types: [PrefsBoxOrderItemRow, GObject.TYPE_STRING]
|
||||
}
|
||||
}
|
||||
param_types: [PrefsBoxOrderItemRow, GObject.TYPE_STRING],
|
||||
},
|
||||
},
|
||||
}, this);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue