Check your code online Insert your code in the form below, select coding style standard and press "Validate" button JSCodeSniffer report Standard: jQuery { "Indentation": false, "LineSpacing": { "allowLineTrailingSpaces": false }, "LineLength": { "allowMaxLength": 80 }, "CommaPunctuatorSpacing": { "disallowPrecedingSpaces": true }, "SemicolonPunctuatorSpacing": { "disallowPrecedingSpaces": true }, "CompoundStatementConventions": { "for": [ "IfStatement", "SwitchStatement", "WhileStatement", "DoWhileStatement", "ForStatement", "ForInStatement", "WithStatement", "TryStatement" ], "requireBraces": true, "requireMultipleLines": true }, "UnaryExpressionIdentifierSpacing": { "allowTrailingWhitespaces": 0 }, "TernaryConditionalPunctuatorsSpacing": { "allowTestTrailingWhitespaces": 1, "allowConsequentPrecedingWhitespaces": 1, "allowConsequentTrailingWhitespaces": 1, "allowAlternatePrecedingWhitespaces": 1 }, "EmptyConstructsSpacing": { "for": [ "ObjectExpression", "ArrayExpression", "CallExpression", "FunctionDeclaration", "FunctionExpression" ], "allowWhitespaces": false }, "ObjectLiteralSpacing": { "allowKeyPrecedingWhitespaces": 1, "allowKeyTrailingWhitespaces": 0, "allowValuePrecedingWhitespaces": 1, "allowValueTrailingWhitespaces": 1 }, "ArrayLiteralSpacing": { "allowElementPrecedingWhitespaces": 1, "allowElementTrailingWhitespaces": 1 }, "QuoteConventions": { "allowDoubleQuotes": true, "allowSingleQuotes": false }, "FunctionNamingConventions": { "allowCase": ["camel", "pascal"], "allowRepeating": true, "allowNumbers": true }, "NewExpressionCalleeNamingConventions": { "allowCase": ["pascal"], "allowRepeating": true, "allowNumbers": true }, "ArgumentsSpacing": { "allowArgPrecedingWhitespaces": 1, "allowArgTrailingWhitespaces": 1, "exceptions": { "singleArg": { "for": ["FunctionExpression", "ArrayExpression", "ObjectExpression"], "allowArgPrecedingWhitespaces": 0, "allowArgTrailingWhitespaces": 0 }, "firstArg": { "for": ["FunctionExpression", "ArrayExpression", "ObjectExpression"], "allowArgPrecedingWhitespaces": 0 }, "lastArg": { "for": ["FunctionExpression", "ArrayExpression", "ObjectExpression"], "allowArgTrailingWhitespaces": 0 } } }, "ParametersSpacing": { "allowParamPrecedingWhitespaces": 1, "allowParamTrailingWhitespaces": 1 }, "ChainedMethodCallsPerLineConventions": { "requireOnePerLineWhenMultilineCaller": true }, "ChainedMethodCallsSpacing": { "allowPrecedingPropertyWhitespaces": 0 }, "OperatorSpacing": { "allowOperatorPrecedingWhitespaces": 1, "allowOperatorTrailingWhitespaces": 1 }, "VariableDeclarationPerScopeConventions": { "disallowMultiplePerBlockScope": true }, "ObjectLiteralConventions": { "requireOnePerLineWhenMultiline": true }, "ArrayLiteralConventions": { "requireOnePerLineWhenMultiline": true } } Error Log