tweak info warning list to match cloud9
This commit is contained in:
parent
502b1af138
commit
89b65c3968
2 changed files with 3 additions and 2 deletions
|
|
@ -40,7 +40,7 @@ var Worker = exports.Worker = function(sender) {
|
||||||
Mirror.call(this, sender);
|
Mirror.call(this, sender);
|
||||||
this.setTimeout(400);
|
this.setTimeout(400);
|
||||||
this.ruleset = null;
|
this.ruleset = null;
|
||||||
this.setDisabledRules("");
|
this.setDisabledRules("ids");
|
||||||
this.setInfoRules("adjoining-classes|qualified-headings|zero-units|gradients|import|outline-none");
|
this.setInfoRules("adjoining-classes|qualified-headings|zero-units|gradients|import|outline-none");
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -62,7 +62,8 @@ var infoRe = startRegex([
|
||||||
"Unexpected space",
|
"Unexpected space",
|
||||||
"Missing radix parameter.",
|
"Missing radix parameter.",
|
||||||
"A leading decimal point can",
|
"A leading decimal point can",
|
||||||
"\\['\\{a\\}'\\] is better written in dot notation."
|
"\\['{a}'\\] is better written in dot notation.",
|
||||||
|
"'{a}' used out of scope"
|
||||||
]);
|
]);
|
||||||
|
|
||||||
var JavaScriptWorker = exports.JavaScriptWorker = function(sender) {
|
var JavaScriptWorker = exports.JavaScriptWorker = function(sender) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue