gnome-shell/js/ui/status
Florian Müllner af87bd8c87 cleanup: Use consistent style for ternary operator
We are currently inconsistent whether to put the operators in front
of the corresponding line or at the end of the preceding one. The
most dominant style for now is to put condition and first branch on
the same line, and then align the second branch:

  let foo = condition ? fooValue
                      : notFooValue;

Unfortunately that's a style that eslint doesn't support, so to account
for it, our legacy configuration currently plainly ignores all indentation
in conditionals.

In order to drop that exception and not let messed up indentation slip
through, change all ternary operators to the non-legacy style.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/725
2019-09-15 13:30:19 +00: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 cleanup: Use consistent style for ternary operator 2019-09-15 13:30:19 +00:00
location.js cleanup: Use consistent style for ternary operator 2019-09-15 13:30:19 +00:00
network.js cleanup: "Only" use two indentation styles for object literals 2019-09-12 23:18:24 +02:00
nightLight.js cleanup: Use consistent style for ternary operator 2019-09-15 13:30:19 +00: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 cleanup: Use consistent style for ternary operator 2019-09-15 13:30:19 +00:00