Having scss-lint ignore a particular line
How do you tell scss-lint to ignore a particular line in a .scss file? i.e. can you do something like this: .example { display: block !important; // sass-lint: ignore } Yep, see the docs on disabling linters via source // scss-lint:disable ImportantRule .example { display: block !important; } // scss-lint:enable ImportantRule Just adding to steveax's great answer : If it's just for the one line, you can directly add the comment there and it will only affect that very line. For instance, consider the following piece of code: .example { display: block !important; // scss-lint:disable