-
Notifications
You must be signed in to change notification settings - Fork 30k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tools: update ESLint to 3.3.0 and enable rules #8097
Conversation
Change `require ('zlib');` to `require('zlib');` in conformance with style in the rest of the code base. This is in preparation for enabling linting for that issue.
Update ESLint 3.3.0 and update .eslintrc: * replace deprecated no-negated-in-lhs rule with no-unsafe-negation * http://eslint.org/docs/rules/no-negated-in-lhs * http://eslint.org/docs/rules/no-unsafe-negation * enable no-template-curly-in-string * http://eslint.org/docs/rules/no-template-curly-in-string * enable no-global-assign * http://eslint.org/docs/rules/no-global-assign * enable func-call-spacing * http://eslint.org/docs/rules/func-call-spacing
first commit LGTM. rubber stamp LGTM for the ESLint update |
LGTM |
1 similar comment
LGTM |
ESLint v3.3.1 has been released since this PR was opened. |
@cjihrig I don't think any of the bug fixes are relevant to our code base. Happy to bump if anyone feels strongly that we ought to, but just as happy to leave it at 3.3.0 and update the next time there's something relevant in the new release. |
No strong opinion. I just thought I'd mention it while this PR is open. |
Change `require ('zlib');` to `require('zlib');` in conformance with style in the rest of the code base. This is in preparation for enabling linting for that issue. PR-URL: #8097 Reviewed-By: targos - Michaël Zasso <mic.besace@gmail.com> Reviewed-By: jasnell - James M Snell <jasnell@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io>
Update ESLint 3.3.0 and update .eslintrc: * replace deprecated no-negated-in-lhs rule with no-unsafe-negation * http://eslint.org/docs/rules/no-negated-in-lhs * http://eslint.org/docs/rules/no-unsafe-negation * enable no-template-curly-in-string * http://eslint.org/docs/rules/no-template-curly-in-string * enable no-global-assign * http://eslint.org/docs/rules/no-global-assign * enable func-call-spacing * http://eslint.org/docs/rules/func-call-spacing PR-URL: #8097 Reviewed-By: targos - Michaël Zasso <mic.besace@gmail.com> Reviewed-By: jasnell - James M Snell <jasnell@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io>
Change `require ('zlib');` to `require('zlib');` in conformance with style in the rest of the code base. This is in preparation for enabling linting for that issue. PR-URL: #8097 Reviewed-By: targos - Michaël Zasso <mic.besace@gmail.com> Reviewed-By: jasnell - James M Snell <jasnell@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io>
Update ESLint 3.3.0 and update .eslintrc: * replace deprecated no-negated-in-lhs rule with no-unsafe-negation * http://eslint.org/docs/rules/no-negated-in-lhs * http://eslint.org/docs/rules/no-unsafe-negation * enable no-template-curly-in-string * http://eslint.org/docs/rules/no-template-curly-in-string * enable no-global-assign * http://eslint.org/docs/rules/no-global-assign * enable func-call-spacing * http://eslint.org/docs/rules/func-call-spacing PR-URL: #8097 Reviewed-By: targos - Michaël Zasso <mic.besace@gmail.com> Reviewed-By: jasnell - James M Snell <jasnell@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io>
@Trott I'm opting to not land this as it is. If you would like to send a PR updating the linter on v4.x and updating the rules that would be rad, but not neccessary |
Checklist
make -j4 test
(UNIX), orvcbuild test nosign
(Windows) passesAffected core subsystem(s)
tools test
Description of change
In one test, change
require ('zlib');
torequire('zlib');
in conformance with style in the rest of the code base. This is to conform withfunc-call-spacing
and the prevailing style in the rest of the code base.