Skip to content

Commit 5a41a6f

Browse files
committed
Update README wording
Make linter enabling/disabling via inline comments documentation more consistent. Change-Id: If5f26f1c78b72f1dbc295ef25503c8e710b443e3 Reviewed-on: http://gerrit.causes.com/44912 Tested-by: jenkins <[email protected]> Reviewed-by: Shane da Silva <[email protected]>
1 parent 2f6e435 commit 5a41a6f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -162,46 +162,46 @@ p {
162162
```scss
163163
// scss-lint:disable BorderZero, StringQuotes
164164
p {
165-
border: none; // Does not lint
166-
content: "hello"; // Does not lint
165+
border: none; // No lint reported
166+
content: "hello"; // No lint reported
167167
}
168168
```
169169

170170
**Disable all lints within a block (and all contained blocks)**
171171
```scss
172172
p {
173173
// scss-lint:disable BorderZero
174-
border: none; // Does not lint
174+
border: none; // No lint reported
175175
}
176176
177177
a {
178-
border: none; // Lints
178+
border: none; // Lint reported
179179
}
180180
```
181181

182182
**Disable and enable again**
183183
```scss
184184
// scss-lint:disable BorderZero
185185
p {
186-
border: none; // Does not lint
186+
border: none; // No lint reported
187187
}
188188
// scss-lint:enable BorderZero
189189
190190
a {
191-
border: none; // Lints
191+
border: none; // Lint reported
192192
}
193193
```
194194

195195
**Disable/enable all linters**
196196
```scss
197197
// scss-lint:disable all
198198
p {
199-
border: none; // Does not lint
199+
border: none; // No lint reported
200200
}
201201
// scss-lint:enable all
202202
203203
a {
204-
border: none; // Lints
204+
border: none; // Lint reported
205205
}
206206
```
207207

0 commit comments

Comments
 (0)