gnome-shell/js/ui/components
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
..
__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: Fix wrong indentation 2019-09-15 13:30:19 +00:00
keyring.js cleanup: Use consistent style for ternary operator 2019-09-15 13:30:19 +00: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: Use consistent style for ternary operator 2019-09-15 13:30:19 +00:00