Prechecker results: error


PHP lint problems

(0 errors, 0 warnings)

This section shows php lint problems in the code detected by php -l [More info]


PHP coding style problems

(0 errors, 0 warnings)

This section shows the coding style problems detected in the code by phpcs [More info]


Javascript coding style problems

(40 errors, 27 warnings)

This section shows the coding style problems detected in the code by eslint [More info]

blocks/chessblock/main.js
(#3) Missing JSDoc comment. (require-jsdoc)
(#3) 'loadLanguage' is defined but never used (no-unused-vars)
(#7) '$' is not defined. (no-undef)
(#7) There should be no spaces inside this paren. (space-in-parens)
(#7) There should be no spaces inside this paren. (space-in-parens)
(#10) 'Chess' is not defined. (no-undef)
(#11) '$' is not defined. (no-undef)
(#15) Expected to return a value at the end of this function. (consistent-return)
(#15) 'orientation' is defined but never used (no-unused-vars)
(#24) Expected to return a value at the end of this function. (consistent-return)
(#50) 'square' is defined but never used (no-unused-vars)
(#51) '$' is not defined. (no-undef)
(#52) Missing semicolon. (semi)
(#55) '$' is not defined. (no-undef)
(#59) Missing semicolon. (semi)
(#61) 'piece' is defined but never used (no-unused-vars)
(#67) Missing semicolon. (semi)
(#78) Missing semicolon. (semi)
(#80) 'piece' is defined but never used (no-unused-vars)
(#82) Missing semicolon. (semi)
(#85) Identifier 'fen_link' is not in camel case. (camelcase)
(#85) ["download"] is better written in dot notation. (dot-notation)
(#85) Missing semicolon. (semi)
(#86) Identifier 'pgn_link' is not in camel case. (camelcase)
(#86) ["download"] is better written in dot notation. (dot-notation)
(#86) Missing semicolon. (semi)
(#87) '$' is not defined. (no-undef)
(#88) '$' is not defined. (no-undef)
(#90) Missing semicolon. (semi)
(#93) Identifier 'fen_href' is not in camel case. (camelcase)
(#102) Identifier 'pgn_data' is not in camel case. (camelcase)
(#103) Identifier 'pgn_href' is not in camel case. (camelcase)
(#105) '$' is not defined. (no-undef)
(#106) '$' is not defined. (no-undef)
(#107) Missing semicolon. (semi)
(#127) ["black"] is better written in dot notation. (dot-notation)
(#127) ["white"] is better written in dot notation. (dot-notation)
(#130) ["gameover"] is better written in dot notation. (dot-notation)
(#130) ["isincheckmate"] is better written in dot notation. (dot-notation)
(#132) ["gameover"] is better written in dot notation. (dot-notation)
(#132) ["drawnposition"] is better written in dot notation. (dot-notation)
(#134) ["tomove"] is better written in dot notation. (dot-notation)
(#136) ["isincheck"] is better written in dot notation. (dot-notation)
(#142) Missing space before opening brace. (space-before-blocks)
(#144) Expected space(s) after "if". (keyword-spacing)
(#144) Missing space before opening brace. (space-before-blocks)
(#145) Unexpected console statement. (no-console)
(#154) 'arguments' is defined but never used (no-unused-vars)
(#155) Unexpected console statement. (no-console)
(#160) Missing semicolon. (semi)
(#175) '$' is not defined. (no-undef)
(#175) Missing space before opening brace. (space-before-blocks)
(#176) 'Chess' is not defined. (no-undef)
(#177) 'ChessBoard' is not defined. (no-undef)
(#178) '$' is not defined. (no-undef)
(#181) '$' is not defined. (no-undef)
(#185) '$' is not defined. (no-undef)
(#185) Missing space before opening brace. (space-before-blocks)
(#186) '$' is not defined. (no-undef)
(#192) 'arguments' is defined but never used (no-unused-vars)
(#194) Use ‘===’ to compare with ‘null’. (no-eq-null)
(#194) Multiple spaces found before 'gameData'. (no-multi-spaces)
(#194) Missing space before opening brace. (space-before-blocks)
(#195) '$' is not defined. (no-undef)
(#197) 'Chess' is not defined. (no-undef)
(#198) 'ChessBoard' is not defined. (no-undef)
(#199) '$' is not defined. (no-undef)

CSS problems

(0 errors, 0 warnings)

This section shows CSS problems detected by csslint [More info]


PHPDocs style problems

(0 errors, 0 warnings)

This section shows the phpdocs problems detected in the code by local_moodlecheck [More info]


Update savepoints problems

(0 errors, 0 warnings)

This section shows problems detected with the handling of upgrade savepoints [More info]


Third party library modification problems

(0 errors, 0 warnings)

This section shows problems detected with the modification of third party libraries [More info]


grunt changes

(0 errors, 0 warnings)

This section shows files built by grunt and not commited [More info]


shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 0 warnings)

This section shows problems detected in mustache templates [More info]