Sha256: 7f81d14180b22e5944d9b4a008e212552190b24490a5702b10bb4247d6d73431

Contents?: true

Size: 539 Bytes

Versions: 24

Compression:

Stored size: 539 Bytes

Contents

# no-empty-source

Disallow empty sources.

<!-- prettier-ignore -->
```css
  ···\n\t
/**     ↑
 *  This empty source */
```

A source containing only whitespace is considered empty.

## Options

### `true`

The following patterns are considered violations:

<!-- prettier-ignore -->
```css

```

<!-- prettier-ignore -->
```css
\t\t
```

<!-- prettier-ignore -->
```css
\n
```

The following patterns are _not_ considered violations:

<!-- prettier-ignore -->
```css
a {}
```

<!-- prettier-ignore -->
```css
/* Only comments */
```

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
trusty-cms-4.1.8 node_modules/stylelint/lib/rules/no-empty-source/README.md
trusty-cms-4.1.7 node_modules/stylelint/lib/rules/no-empty-source/README.md
trusty-cms-4.1.6 node_modules/stylelint/lib/rules/no-empty-source/README.md
trusty-cms-4.1.5 node_modules/stylelint/lib/rules/no-empty-source/README.md