demo/sc-mode.js
Function token
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
token: function(stream) {
var ch;
if (stream.match(/var|arg|const|this(Thread|Process|Function|FunctionDef)?/)) {
return "keyword";
Avoid too many return
statements within this function. Open
Open
return "symbol";
Avoid too many return
statements within this function. Open
Open
return "symbol";
Avoid too many return
statements within this function. Open
Open
return "atom";
Avoid too many return
statements within this function. Open
Open
return "number";
Avoid too many return
statements within this function. Open
Open
return "number";
Avoid too many return
statements within this function. Open
Open
return "comment";
Avoid too many return
statements within this function. Open
Open
return "comment";