app/javascript/packs/codemirror.js
Function token
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
token: function(stream, state) {
if (stream.eatWhile(/[ \t]/)) {
// ignore indenting spaces
stream.skipTo(stream.peek());
return;
Avoid too many return
statements within this function. Open
Open
return "variable";
Avoid too many return
statements within this function. Open
Open
return "builtin";
Avoid too many return
statements within this function. Open
Open
return "string";
Avoid too many return
statements within this function. Open
Open
return "keyword";
Avoid too many return
statements within this function. Open
Open
return "keyword";