tweak info warning list to match cloud9

This commit is contained in:
nightwing 2012-10-23 09:22:27 +04:00
commit 89b65c3968
2 changed files with 3 additions and 2 deletions

View file

@ -40,7 +40,7 @@ var Worker = exports.Worker = function(sender) {
Mirror.call(this, sender);
this.setTimeout(400);
this.ruleset = null;
this.setDisabledRules("");
this.setDisabledRules("ids");
this.setInfoRules("adjoining-classes|qualified-headings|zero-units|gradients|import|outline-none");
};

View file

@ -62,7 +62,8 @@ var infoRe = startRegex([
"Unexpected space",
"Missing radix parameter.",
"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) {