Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upFix jshint warnings #11109
Fix jshint warnings #11109
Conversation
|
Addresses #9153 Remove JSHint warnings |
|
Let's just disable these two rules via the following in
|
|
Can you please revert the changes to the multiline strings and references like |
|
ok so just make changes to the .jshint and the missing semicolons? |
|
Yes please, also the |
|
This is coming along well. Almost ready |
| @@ -1,4 +1,7 @@ | |||
| { | |||
| "sub": true, | |||
| "multistr": true, | |||
| "-W018": true, | |||
This comment has been minimized.
This comment has been minimized.
Splaktar
Feb 11, 2018
Member
Sorry, I was trying to say that we should fix the issues where "confusing use of '!'" gave a warning, not exclude the rule.
This comment has been minimized.
This comment has been minimized.
5earle
Feb 12, 2018
Author
Contributor
Ok i will look into it, but I'm not sure why its showing a warning
| Nebraska, Nevada, New Hampshire, New Jersey, New Mexico, New York, North Carolina,\ | ||
| North Dakota, Ohio, Oklahoma, Oregon, Pennsylvania, Rhode Island, South Carolina,\ | ||
| South Dakota, Tennessee, Texas, Utah, Vermont, Virginia, Washington, West Virginia,\ | ||
| Wisconsin, Wyoming'; |
This comment has been minimized.
This comment has been minimized.
Splaktar
Feb 11, 2018
Member
Can you please remove these added spaces? It should be indented 8 spaces, not 9.
|
these are giving me some problems to fix if (!!value === targetValue) |
|
OK, yeah it's not trivial to fix those. Let's go with your first instinct and just exclude that rule in the |
|
Code looks good now, thank you. Please squash your commits and then we can get this submitted to be merged. |
|
I would like to get this merged into 1.1.8 as we're hoping to release it this week, can you please squash your commits so that we can merge this? |
add sub:true and multistr=true to .jshintrc revert and remove confusing use of ! warning update fix fix space exclude warnings
|
ok so i was trying to do the rebase. after squash attempt: commit 8752694 Fail to Push: ! [rejected] fix-jshint -> fix-jshint (non-fast-forward) |
|
Have you tried force push? That's needed when re-writing a remote branch's history like we want to do when squashing commits. |
|
ok that did the trick |
cec409a
into
angular:master
add sub:true and multistr=true to .jshintrc revert and remove confusing use of ! warning update fix fix space exclude warnings
add sub:true and multistr=true to .jshintrc revert and remove confusing use of ! warning update fix fix space exclude warnings
5earle commentedFeb 6, 2018
•
edited by Splaktar
PR Checklist
Please check that your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: #9153
What is the new behavior?
Does this PR introduce a breaking change?
Other information