You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This functionality is only available when not using custom reporters.
154
+
105
155
## Custom rules
106
156
107
157
Use the `csslint.addRule(rule)` method to define custom rules that run in addition to the rules defined in the csslintrc file. See [Working with Rules](https://github.com/CSSLint/csslint/wiki/Working-with-Rules) for details.
<?xml version="1.0" encoding="utf-8"?><checkstyle><filename="test/fixtures/usingImportant.css"><errorline="2"column="1"severity="warning"message="Bad naming: .mybox"source="net.csslint.OOCSS"/><errorline="3"column="3"severity="warning"message="Use of !important"source="net.csslint.Disallow!important"/></file></checkstyle>
1
+
<filename="test/fixtures/usingImportant.css"><errorline="2"column="1"severity="warning"message="Bad naming: .mybox"source="net.csslint.OOCSS"/><errorline="3"column="3"severity="warning"message="Use of !important"source="net.csslint.Disallow!important"/></file>
0 commit comments