In sublime text 3 with the sublimelinter plugin (linter / css) how to disable these warnings IDs and padding specifically warnings
Asked
Active
Viewed 233 times
-1
-
What linter are you using? – idleberg Jun 04 '17 at 09:41
-
CssLint (warnings in css id selector) – Daniel Jun 04 '17 at 14:14
1 Answers
0
.csslintrc
CSSLint allows you to disable its rules using the .csslintrc
in your project root.
Example:
{
"ids": false
}
.sublimelinterrc
The same thing can be achieved using Sublime Linter's own configuration file, which is basically making use of CSSLint's --ignore
command-line parameter.
Example:
{
"linters": {
"csslint": {
"ignore": ["ids]
}
}
}

idleberg
- 12,634
- 7
- 43
- 70