gnome-shell/js/ui/components
Florian Müllner 451f4e3636 cleanup: "Only" use two indentation styles for object literals
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
2019-09-12 23:18:24 +02:00
..
__init__.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
automountManager.js cleanup: Stop using Mainloop module 2019-09-12 19:09:24 +02:00
autorunManager.js cleanup: "Only" use two indentation styles for object literals 2019-09-12 23:18:24 +02:00
keyring.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
networkAgent.js cleanup: "Only" use two indentation styles for object literals 2019-09-12 23:18:24 +02:00
polkitAgent.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
telepathyClient.js cleanup: Stop using Mainloop module 2019-09-12 19:09:24 +02:00