Skip to content

Commit 0abac6e

Browse files
committed
Fix readme example for at-rule-nested-empty-line-before's ignoreAtRules
1 parent e8084b0 commit 0abac6e

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

docs/at-rule-nested-empty-line-before.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -314,20 +314,21 @@ Ignore specified at-rules.
314314
Given:
315315

316316
```js
317-
[true, { ignoreAtRules: ["import"] }]
317+
[true, { ignoreAtRules: ["else"] }]
318318
```
319319

320+
Before:
321+
320322
```css
321323
a {
322-
323324
@if (true) {
324-
}
325-
326-
@else {
325+
} @else {
327326
}
328327
}
329328
```
330329

330+
After:
331+
331332
```css
332333
a {
333334

0 commit comments

Comments
 (0)