The Wayback Machine - https://web.archive.org/web/20211209054700/https://github.com/nodejs/node/commit/31434a1202
Skip to content
Permalink
Browse files
tools: enforce consistent operator linebreak style
Adds the `operator-linebreak` rule to our ESLint config.

PR-URL: #10178
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
  • Loading branch information
targos authored and MylesBorins committed Feb 1, 2017
1 parent 2eda3c7 commit 31434a1202b975457fa773d8c2109b60a4847f16
Showing with 1 addition and 0 deletions.
  1. +1 −0 .eslintrc
@@ -65,6 +65,7 @@ rules:
no-mixed-spaces-and-tabs: 2
no-multiple-empty-lines: [2, {max: 2}]
no-trailing-spaces: 2
operator-linebreak: [2, after, {overrides: {'?': ignore, ':': ignore}}]
quotes: [2, "single", "avoid-escape"]
semi: 2
space-before-blocks: [2, "always"]

0 comments on commit 31434a1

Please sign in to comment.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.