Skip to content

Commit 8db9887

Browse files
KyNorthstarsds
authored andcommitted
sds#649: Added single-line disable to README
This was a hidden feature; as far as I could tell it was undocumented, but in the comments for sds#649, it was revealed that it is indeed an intentional feature. So, I added it to the README! 😄
1 parent 99ce4ee commit 8db9887

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

+12
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,18 @@ a {
236236
}
237237
```
238238

239+
**Disable for just one line**
240+
```scss
241+
p {
242+
// No lint reported:
243+
border: none; // scss-lint:disable BorderZero
244+
245+
a {
246+
border: none; // Lint reported
247+
}
248+
}
249+
```
250+
239251
**Disable/enable all linters**
240252
```scss
241253
// scss-lint:disable all

0 commit comments

Comments
 (0)