missing semicolon must show info not warning
This commit is contained in:
parent
87fadcf2aa
commit
446556ea4f
1 changed files with 2 additions and 0 deletions
|
|
@ -143,6 +143,8 @@ oop.inherits(JavaScriptWorker, Mirror);
|
|||
if (maxErrorLevel == "error" && str && /[\w\d{(['"]/.test(str)) {
|
||||
error.reason = 'Missing ";" before statement';
|
||||
type = "error";
|
||||
} else {
|
||||
type = "info";
|
||||
}
|
||||
}
|
||||
else if (disabledWarningsRe.test(raw)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue