Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fork PR #6

wants to merge 1 commit into from

Conversation

soullivaneuh
Copy link
Owner

No description provided.

);

if (true) {
} else if (false) {
Copy link
Contributor

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: [],
Copy link
Owner Author

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;
Copy link
Owner Author

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')];
Copy link
Owner Author

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
Copy link
Owner Author

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
Copy link
Owner Author

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";
Copy link
Owner Author

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
Copy link
Owner Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants