| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
This change is in preparation for lint-enforced brace style.
This change is in preparation for a lint rule to enforce brace style.
This change is in preparation for lint enforcement of brace style.
Enable `brace-style` in ESLint. Ref: nodejs#7094 (comment)
Sorry, something went wrong.
|
LGTM |
Sorry, something went wrong.
|
Only failure on CI is a build failure on a Raspberry Pi device. |
Sorry, something went wrong.
|
LGTM |
Sorry, something went wrong.
|
LGTM |
Sorry, something went wrong.
| return function() { | ||
| return stream[method].apply(stream, arguments); | ||
| }; | ||
| }(i); |
There was a problem hiding this comment.
Unrelated to this change, but I think one level of function wrapping can be removed here:
this[i] = function(method) {
return stream[method].apply(stream, arguments);
}(i);
Sorry, something went wrong.
|
LGTM |
Sorry, something went wrong.
|
@Fishrock123 Should I treat your "confused" reaction merely as an expression of mild disappointment? Or should I treat it as a "-1, do not do this without successfully persuading me first that this is A Good Thing"? (Either way, would I be correct to guess that your concerns are around churn / whitespace-only changes?) |
Sorry, something went wrong.
|
Much thanks for taking care of this. LGTM. |
Sorry, something went wrong.
|
I'll land this after another 12 hours or so unless someone objects. |
Sorry, something went wrong.
|
🎆 lgtm |
Sorry, something went wrong.
This change is in preparation for lint-enforced brace style. PR-URL: nodejs#7630 Reviewed-By: Brian White <mscdex@mscdex.net> Reviewed-By: Michaël Zasso <mic.besace@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: Trevor Norris <trev.norris@gmail.com> Reviewed-By: Rod Vagg <rod@vagg.org>
Enable `brace-style` in ESLint. Ref: nodejs#7094 (comment) PR-URL: nodejs#7630 Reviewed-By: Brian White <mscdex@mscdex.net> Reviewed-By: Michaël Zasso <mic.besace@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: Trevor Norris <trev.norris@gmail.com> Reviewed-By: Rod Vagg <rod@vagg.org>
Sorry, something went wrong.
This change is in preparation for lint-enforced brace style. PR-URL: #7630 Reviewed-By: Brian White <mscdex@mscdex.net> Reviewed-By: Michaël Zasso <mic.besace@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: Trevor Norris <trev.norris@gmail.com> Reviewed-By: Rod Vagg <rod@vagg.org>
Enable `brace-style` in ESLint. Ref: #7094 (comment) PR-URL: #7630 Reviewed-By: Brian White <mscdex@mscdex.net> Reviewed-By: Michaël Zasso <mic.besace@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: Trevor Norris <trev.norris@gmail.com> Reviewed-By: Rod Vagg <rod@vagg.org>
|
@Trott would you be willing to backport? |
Sorry, something went wrong.
|
@thealphanerd Backported in #8348 |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Checklist
Affected core subsystem(s)
tools lib benchmark test
Description of change
Enable brace-style in ESLint.
Ref: #7094 (comment)
/cc @trevnorris @silverwind