stylelint
Version:
Modern CSS linter
55 lines (37 loc) • 880 B
Markdown
# at-rule-semicolon-newline-after
Require a newline after the semicolon of at-rules.
```css
a {}
/** ↑
* The newline after these semicolons */
```
This rule allows an end-of-line comment separated from the semicolon by spaces, as long as the comment contains no newlines. For example,
```css
```
## Options
`string`: `"always"`
### `"always"`
There *must always* be a newline after the semicolon.
The following patterns are considered warnings:
```css
```
```css
```
The following patterns are *not* considered warnings:
```css
```
```css
a {};
```
```css
a {};
```