-
Notifications
You must be signed in to change notification settings - Fork 28.2k
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,test,lib: enable no-cond-assign ESLint rule #41614
Commits on Jan 23, 2022
-
crypto: revise variables for const use instead of let
This prepares the code for enabling the no-cond-assign rule. PR-URL: nodejs#41614 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Anna Henningsen <anna@addaleax.net>
Configuration menu - View commit details
-
Copy full SHA for c05c883 - Browse repository at this point
Copy the full SHA c05c883View commit details -
stream: check for null instead of falsy in loops
Check for null in while loops. This is preparing the code for the no-cond-assign ESLint rule. PR-URL: nodejs#41614 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Anna Henningsen <anna@addaleax.net>
Configuration menu - View commit details
-
Copy full SHA for e6fdcbe - Browse repository at this point
Copy the full SHA e6fdcbeView commit details -
policy: check for null instead of falsy in loop
This prepares the code for the no-cond-assign ESLint rule. PR-URL: nodejs#41614 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Anna Henningsen <anna@addaleax.net>
Configuration menu - View commit details
-
Copy full SHA for 0bc6422 - Browse repository at this point
Copy the full SHA 0bc6422View commit details -
process: check for null instead of falsy in while loop
This prepares the code for the no-cond-assign ESLint rule. PR-URL: nodejs#41614 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Anna Henningsen <anna@addaleax.net>
Configuration menu - View commit details
-
Copy full SHA for e044a5d - Browse repository at this point
Copy the full SHA e044a5dView commit details -
timers: check for nullish instead of falsy in loops
This prepares the code for the no-cond-assign ESLint rule. PR-URL: nodejs#41614 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Anna Henningsen <anna@addaleax.net>
Configuration menu - View commit details
-
Copy full SHA for bd42245 - Browse repository at this point
Copy the full SHA bd42245View commit details -
util: check for null instead of flasy in loop
This prepares the code for the no-cond-assign ESLint rule. PR-URL: nodejs#41614 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Anna Henningsen <anna@addaleax.net>
Configuration menu - View commit details
-
Copy full SHA for ac06951 - Browse repository at this point
Copy the full SHA ac06951View commit details -
repl: check for precise values rather than falsy in loops
This prepares the code for the no-cond-assign ESLint rule. PR-URL: nodejs#41614 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Anna Henningsen <anna@addaleax.net>
Configuration menu - View commit details
-
Copy full SHA for 348469b - Browse repository at this point
Copy the full SHA 348469bView commit details -
test: prepare tests for no-cond-assign ESLint rule
PR-URL: nodejs#41614 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Anna Henningsen <anna@addaleax.net>
Configuration menu - View commit details
-
Copy full SHA for d77754b - Browse repository at this point
Copy the full SHA d77754bView commit details -
tools: enable no-cond-assign-ESLint rule
no-cond-assign is one of the few ESLint recommended rules that we have turned off. This change enables the rule. PR-URL: nodejs#41614 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Anna Henningsen <anna@addaleax.net>
Configuration menu - View commit details
-
Copy full SHA for 68bb83f - Browse repository at this point
Copy the full SHA 68bb83fView commit details