tools: enforce linebreak after ternary operators

This is to be consistent with the other operators and helps
understanding the context when the code is grepped.

PR-URL: https://github.com/nodejs/node/pull/10213
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
Michaël Zasso authored and James M Snell committed 2016-12-22 20:27:59 -08:00
1 parent 9fd79c9f5b
commit 966e5cfb81
12 files changed
+42 -43

No files matched your search

@@ -108,9 +108,9 @@ module.exports = {
},
create(context) {
const overrideSet = new Set(context.options.length
? context.options[0].override || []
: []);
const overrideSet = new Set(context.options.length ?
context.options[0].override || [] :
[]);
/**
* Reports a node