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-6.3.1 node_modules/stylelint/lib/rules/no-empty-source/README.md
trusty-cms-5.0.7 node_modules/stylelint/lib/rules/no-empty-source/README.md
trusty-cms-5.0.6 node_modules/stylelint/lib/rules/no-empty-source/README.md
trusty-cms-5.0.5 node_modules/stylelint/lib/rules/no-empty-source/README.md
trusty-cms-5.0.4 node_modules/stylelint/lib/rules/no-empty-source/README.md
trusty-cms-5.0.3 node_modules/stylelint/lib/rules/no-empty-source/README.md
trusty-cms-5.0.2 node_modules/stylelint/lib/rules/no-empty-source/README.md
trusty-cms-5.0.1 node_modules/stylelint/lib/rules/no-empty-source/README.md
trusty-cms-4.3.5 node_modules/stylelint/lib/rules/no-empty-source/README.md
trusty-cms-5.0.0 node_modules/stylelint/lib/rules/no-empty-source/README.md
trusty-cms-4.3.4 node_modules/stylelint/lib/rules/no-empty-source/README.md
trusty-cms-4.3.3 node_modules/stylelint/lib/rules/no-empty-source/README.md
trusty-cms-4.3.2 node_modules/stylelint/lib/rules/no-empty-source/README.md
trusty-cms-4.3.1 node_modules/stylelint/lib/rules/no-empty-source/README.md
trusty-cms-4.3 node_modules/stylelint/lib/rules/no-empty-source/README.md
trusty-cms-4.2.3 node_modules/stylelint/lib/rules/no-empty-source/README.md
trusty-cms-4.2.2 node_modules/stylelint/lib/rules/no-empty-source/README.md
trusty-cms-4.2.1 node_modules/stylelint/lib/rules/no-empty-source/README.md
trusty-cms-4.2 node_modules/stylelint/lib/rules/no-empty-source/README.md
trusty-cms-4.1.9 node_modules/stylelint/lib/rules/no-empty-source/README.md