-
-
Notifications
You must be signed in to change notification settings - Fork 1
add fix suggestions and new rules #3
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ESLint doesn't pass. Please fix all ESLint issues.
test.js
Outdated
| @@ -0,0 +1,3 @@ | |||
| var a = 90 < 100 != 40; | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unexpected var, use let or const instead. no-var
Fix available:
| var a = 90 < 100 != 40; | |
| let a = 90 < 100 != 40; |
test.js
Outdated
| @@ -0,0 +1,3 @@ | |||
| var a = 90 < 100 != 40; | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unexpected mix of '<' and '!='. Use parentheses to clarify the intended order of operations. stylistic/no-mixed-operators
test.js
Outdated
| @@ -0,0 +1,3 @@ | |||
| var a = 90 < 100 != 40; | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected '!==' and instead saw '!='. eqeqeq
Suggestion(s) available:
| var a = 90 < 100 != 40; | |
| var a = 90 < 100 !== 40; |
test.js
Outdated
| @@ -0,0 +1,3 @@ | |||
| var a = 90 < 100 != 40; | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unexpected mix of '<' and '!='. Use parentheses to clarify the intended order of operations. stylistic/no-mixed-operators
test.js
Outdated
| @@ -0,0 +1,3 @@ | |||
| var a = 90 < 100 != 40; | |||
|
|
|||
| console.log(a); No newline at end of file | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ESLint doesn't pass. Please fix all ESLint issues.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ESLint doesn't pass. Please fix all ESLint issues.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ESLint doesn't pass. Please fix all ESLint issues.
No description provided.