-
Notifications
You must be signed in to change notification settings - Fork 1
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
Fork PR #6
base: master
Are you sure you want to change the base?
Fork PR #6
Conversation
); | ||
|
||
if (true) { | ||
} else if (false) { |
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.
Usage of ELSE IF is discouraged; use ELSEIF instead
@@ -11,7 +11,7 @@ | |||
|
|||
var Admin = { | |||
|
|||
collectionCounters: [], | |||
lolCounters: [], |
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: Unquoted property 'lolCounters' found.
@@ -321,7 +321,7 @@ var Admin = { | |||
counter = parseInt(matches[1], 10); | |||
} | |||
}); | |||
Admin.collectionCounters[collection.attr('id')] = counter; | |||
Admin.lolCounters[collection.attr('id')] = counter; |
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: Strings must use doublequote.
@@ -331,7 +331,7 @@ var Admin = { | |||
Admin.stopEvent(event); | |||
|
|||
var container = jQuery(this).closest('[data-prototype]'); | |||
var counter = ++Admin.collectionCounters[container.attr('id')]; | |||
var counter = ++Admin.lolCounters[container.attr('id')]; |
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: Combine this with the previous 'var' statement.
- eslint: Unexpected var, use let or const instead.
- eslint: All 'var' declarations must be at the top of the function scope.
- eslint: Unary operator '++' used.
- eslint: Strings must use doublequote.
@@ -1 +1 @@ | |||
test: 'toto' | |||
test: @toto |
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.
- yamllint: syntax error: found character '@' that cannot start any token
@@ -1 +1 @@ | |||
test: 'toto' | |||
test: @toto |
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.
- yamllint: syntax error: found character '@' that cannot start any token
@@ -1,2 +1,4 @@ | |||
const test = "toto"; | |||
console.log(test); | |||
|
|||
const toto = "kikou"; |
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: Combine this with the previous 'const' statement.
- eslint: 'toto' is assigned a value but never used.
@@ -0,0 +1 @@ | |||
test: @toto |
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.
- yamllint: syntax error: found character '@' that cannot start any token
No description provided.