Skip to content

Commit c669f6f

Browse files
committed
Changed from All to IE in the max selector rules.
1 parent b518b0c commit c669f6f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/rules/selector-max-approaching.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ CSSLint.addRule({
88
id: "selector-max-approaching",
99
name: "Warn when approaching the 4095 limit for IE",
1010
desc: "Will warn when selector count is >= 3800 rules.",
11-
browsers: "All",
11+
browsers: "IE",
1212

1313
//initialization
1414
init: function(parser, reporter){

src/rules/selector-max.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ CSSLint.addRule({
88
id: "selector-max",
99
name: "Error when past the 4095 limit for IE",
1010
desc: "Will error when selector count is > 4095.",
11-
browsers: "All",
11+
browsers: "IE",
1212

1313
//initialization
1414
init: function(parser, reporter){
@@ -21,7 +21,7 @@ CSSLint.addRule({
2121

2222
parser.addListener("endstylesheet", function(){
2323
if(count>4095){
24-
reporter.report("You have "+count+" rules. nternet Explorer supports a maximum of 4095 rules. All additional rules will be ignored by IE. Consider refactoring.",0,0,rule);
24+
reporter.report("You have "+count+" rules. Internet Explorer supports a maximum of 4095 rules. All additional rules will be ignored by IE. Consider refactoring.",0,0,rule);
2525
}
2626
});
2727
}

tests/rules/selector-max.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)