linter-bundle
Version:
Ready-to use bundle of linting tools, containing configurations for ESLint, stylelint and markdownlint.
51 lines (34 loc) • 922 B
Markdown
# at-rule-semicolon-space-before
Require a single space or disallow whitespace before the semicolons of at-rules.
<!-- prettier-ignore -->
```css
@import "components/buttons";
/** ↑
* The space before this semicolon */
```
## Options
`string`: `"always"|"never"`
### `"always"`
There _must always_ be a single space before the semicolons.
The following pattern is considered a problem:
<!-- prettier-ignore -->
```css
@import "components/buttons";
```
The following pattern is _not_ considered a problem:
<!-- prettier-ignore -->
```css
@import "components/buttons" ;
```
### `"never"`
There _must never_ be a single space before the semicolons.
The following pattern is considered a problem:
<!-- prettier-ignore -->
```css
@import "components/buttons" ;
```
The following pattern is _not_ considered a problem:
<!-- prettier-ignore -->
```css
@import "components/buttons";
```