Skip to content

Commit 4c3bb28

Browse files
author
Sergey Chernyshev
committed
Added URLs for rules that have corresponding wiki pages
1 parent 5c2d2c4 commit 4c3bb28

31 files changed

+31
-0
lines changed

src/rules/adjoining-classes.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ CSSLint.addRule({
88
id: "adjoining-classes",
99
name: "Disallow adjoining classes",
1010
desc: "Don't use adjoining classes.",
11+
url: "https://github.com/CSSLint/csslint/wiki/Disallow-adjoining-classes",
1112
browsers: "IE6",
1213

1314
//initialization

src/rules/box-model.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ CSSLint.addRule({
77
id: "box-model",
88
name: "Beware of broken box size",
99
desc: "Don't use width or height when using padding or border.",
10+
url: "https://github.com/CSSLint/csslint/wiki/Beware-of-box-model-size",
1011
browsers: "All",
1112

1213
//initialization

src/rules/box-sizing.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ CSSLint.addRule({
88
id: "box-sizing",
99
name: "Disallow use of box-sizing",
1010
desc: "The box-sizing properties isn't supported in IE6 and IE7.",
11+
url: "https://github.com/CSSLint/csslint/wiki/Disallow-box-sizing",
1112
browsers: "IE6, IE7",
1213
tags: ["Compatibility"],
1314

src/rules/bulletproof-font-face.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ CSSLint.addRule({
99
id: "bulletproof-font-face",
1010
name: "Use the bulletproof @font-face syntax",
1111
desc: "Use the bulletproof @font-face syntax to avoid 404's in old IE (http://www.fontspring.com/blog/the-new-bulletproof-font-face-syntax).",
12+
url: "https://github.com/CSSLint/csslint/wiki/Bulletproof-font-face",
1213
browsers: "All",
1314

1415
//initialization

src/rules/compatible-vendor-prefixes.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ CSSLint.addRule({
99
id: "compatible-vendor-prefixes",
1010
name: "Require compatible vendor prefixes",
1111
desc: "Include all compatible vendor prefixes to reach a wider range of users.",
12+
url: "https://github.com/CSSLint/csslint/wiki/Require-compatible-vendor-prefixes",
1213
browsers: "All",
1314

1415
//initialization

src/rules/display-property-grouping.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ CSSLint.addRule({
1212
id: "display-property-grouping",
1313
name: "Require properties appropriate for display",
1414
desc: "Certain properties shouldn't be used with certain display property values.",
15+
url: "https://github.com/CSSLint/csslint/wiki/Require-properties-appropriate-for-display",
1516
browsers: "All",
1617

1718
//initialization

src/rules/duplicate-background-images.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ CSSLint.addRule({
88
id: "duplicate-background-images",
99
name: "Disallow duplicate background images",
1010
desc: "Every background-image should be unique. Use a common class for e.g. sprites.",
11+
url: "https://github.com/CSSLint/csslint/wiki/Disallow-duplicate-background-images",
1112
browsers: "All",
1213

1314
//initialization

src/rules/duplicate-properties.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ CSSLint.addRule({
99
id: "duplicate-properties",
1010
name: "Disallow duplicate properties",
1111
desc: "Duplicate properties must appear one after the other.",
12+
url: "https://github.com/CSSLint/csslint/wiki/Disallow-duplicate-properties",
1213
browsers: "All",
1314

1415
//initialization

src/rules/empty-rules.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ CSSLint.addRule({
88
id: "empty-rules",
99
name: "Disallow empty rules",
1010
desc: "Rules without any properties specified should be removed.",
11+
url: "https://github.com/CSSLint/csslint/wiki/Disallow-empty-rules",
1112
browsers: "All",
1213

1314
//initialization

src/rules/fallback-colors.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ CSSLint.addRule({
44
id: "fallback-colors",
55
name: "Require fallback colors",
66
desc: "For older browsers that don't support RGBA, HSL, or HSLA, provide a fallback color.",
7+
url: "https://github.com/CSSLint/csslint/wiki/Require-fallback-colors",
78
browsers: "IE6,IE7,IE8",
89

910
//initialization

0 commit comments

Comments
 (0)