451f4e3636
We currently use no less than three different ways of indenting object literals: let obj1 = { foo: 42, bar: 23, }; let obj2 = { foo: 42, bar: 23 }; let obj3 = { foo: 42, bar: 23 }; The first is the one we want to use everywhere eventually, while the second is the most commonly used "legacy" style. It is the third one that is most problematic, as it throws off eslint fairly badly: It violates both the rule to have consistent line breaks in braces as well as the indentation style of both regular and legacy configurations. Fortunately the third style was mostly used for tween parameters, so is quite rare after the Tweener purge. Get rid of the remaining ones to cut down on pre-existing eslint errors. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/716 |
||
---|---|---|
.. | ||
__init__.js | ||
automountManager.js | ||
autorunManager.js | ||
keyring.js | ||
networkAgent.js | ||
polkitAgent.js | ||
telepathyClient.js |