File tree 1 file changed +8
-8
lines changed
1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -162,46 +162,46 @@ p {
162
162
` ` ` scss
163
163
// scss-lint:disable BorderZero, StringQuotes
164
164
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
167
167
}
168
168
` ` `
169
169
170
170
**Disable all lints within a block (and all contained blocks)**
171
171
` ` ` scss
172
172
p {
173
173
// scss-lint:disable BorderZero
174
- border: none; // Does not lint
174
+ border: none; // No lint reported
175
175
}
176
176
177
177
a {
178
- border: none; // Lints
178
+ border: none; // Lint reported
179
179
}
180
180
` ` `
181
181
182
182
**Disable and enable again**
183
183
` ` ` scss
184
184
// scss-lint:disable BorderZero
185
185
p {
186
- border: none; // Does not lint
186
+ border: none; // No lint reported
187
187
}
188
188
// scss-lint:enable BorderZero
189
189
190
190
a {
191
- border: none; // Lints
191
+ border: none; // Lint reported
192
192
}
193
193
` ` `
194
194
195
195
**Disable/enable all linters**
196
196
` ` ` scss
197
197
// scss-lint:disable all
198
198
p {
199
- border: none; // Does not lint
199
+ border: none; // No lint reported
200
200
}
201
201
// scss-lint:enable all
202
202
203
203
a {
204
- border: none; // Lints
204
+ border: none; // Lint reported
205
205
}
206
206
` ` `
207
207
You can’t perform that action at this time.
0 commit comments