| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
So we are not doing eol-last, eslint rule? |
Sorry, something went wrong.
|
eol-last is already in effect, I totally missed that earlier. |
Sorry, something went wrong.
Sorry, something went wrong.
|
this will require manual backporting |
Sorry, something went wrong.
PR-URL: nodejs#9410 Fixes: nodejs#9402 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Minwoo Jung <jmwsoft@gmail.com>
PR-URL: nodejs#9410 Fixes: nodejs#9402 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Minwoo Jung <jmwsoft@gmail.com>
|
@thealphanerd you can cherry-pick just 15b83b9. The EOL issue on benchmark/README.md seems to not be present in v6.x, v6.x-staging and v4.x, so the first commit would be a empty one :) If we're okay with empty commits, I could provide you one though. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Checklist
Affected core subsystem(s)
tools
Description of change
This enables the final newline insertion for editors supporting .editorconfig, which hopefully will eliminate noise in pull requests concerning the final newline.
The first commit is the result of the following command (requires GNU versions of find and sed):
The only offending file was benchmark/README.md. I've opted to not change test assets which would have required changes in a bunch of tests.
The second commit enables the editorconfig option. The pattern was written with the assumption that no one will manually edit files inside any node_modules directory or .min.js files.