gnome-shell/js/misc
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
..
config.js.in fileUtils: Add helper for loading D-Bus XML from resource 2018-09-17 07:34:49 +00:00
extensionUtils.js extensionUtils: Check version variable for undefined first 2019-09-12 10:24:49 +00:00
fileUtils.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
gnomeSession.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
history.js cleanup: Prefer template strings 2019-07-05 11:32:31 +00:00
ibusManager.js cleanup: Stop using Mainloop module 2019-09-12 19:09:24 +02:00
inputMethod.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
introspect.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
jsParse.js jsParse: Disambiguate regex 2019-09-11 20:59:31 +00:00
keyboardManager.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
loginManager.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
meson.build networkAgent: Pick up VPN service dir from pkg-config 2018-01-22 08:44:19 +01:00
modemManager.js cleanup: Mark unused (but useful) variables as ignored 2019-07-24 00:28:45 +02:00
objectManager.js cleanup: Prefer template strings 2019-07-05 11:32:31 +00:00
params.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
permissionStore.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
smartcardManager.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
systemActions.js cleanup: Use consistent style for ternary operator 2019-09-15 13:30:19 +00:00
util.js util: Separate statements with linebreak 2019-09-11 20:59:31 +00:00
weather.js weather: Pick up original settings values 2019-08-07 18:53:41 +00:00