gnome-shell/js/ui/status
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
..
accessibility.js cleanup: Stop using Mainloop module 2019-09-12 19:09:24 +02:00
bluetooth.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
brightness.js brightness: Ignore slider changes we initiated ourselves 2019-08-13 16:35:17 +02:00
dwellClick.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
keyboard.js status/keyboard: Make Input source types var 2019-09-09 19:28:18 +00:00
location.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
network.js cleanup: "Only" use two indentation styles for object literals 2019-09-12 23:18:24 +02:00
nightLight.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
power.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
remoteAccess.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
rfkill.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
screencast.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
system.js system: Properly separate statements 2019-09-11 20:59:31 +00:00
thunderbolt.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
volume.js volume: Ignore slider changes we initiated ourselves 2019-09-05 11:30:33 +01:00