Sha256: dfbebed9adda895b87fe4b9a39af2c214204cc29063c4d2427adc3e693f19f48

Contents?: true

Size: 947 Bytes

Versions: 24

Compression:

Stored size: 947 Bytes

Contents

# no-extra-semicolons

Disallow extra semicolons.

<!-- prettier-ignore -->
```css
a { color: pink;; }
/**             ↑
 *  This semicolons */
```

This rule ignores semicolons after Less mixins.

The [`fix` option](../../../docs/user-guide/usage/options.md#fix) can automatically fix all of the problems reported by this rule.

## Options

### `true`

The following patterns are considered violations:

<!-- prettier-ignore -->
```css
@import "x.css";;
```

<!-- prettier-ignore -->
```css
@import "x.css";
;
```

<!-- prettier-ignore -->
```css
a {
  color: pink;;
}
```

<!-- prettier-ignore -->
```css
a {
  ;color: pink;
}
```

<!-- prettier-ignore -->
```css
a {
  color: pink;
  ;
}
```

<!-- prettier-ignore -->
```css
a {
  color: red;
}
;
b {
  color: white;
}
```

The following patterns are _not_ considered violations:

<!-- prettier-ignore -->
```css
@import "x.css";
```

<!-- prettier-ignore -->
```css
a {
  color: pink;
}
```

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
trusty-cms-6.3.1 node_modules/stylelint/lib/rules/no-extra-semicolons/README.md
trusty-cms-5.0.7 node_modules/stylelint/lib/rules/no-extra-semicolons/README.md
trusty-cms-5.0.6 node_modules/stylelint/lib/rules/no-extra-semicolons/README.md
trusty-cms-5.0.5 node_modules/stylelint/lib/rules/no-extra-semicolons/README.md
trusty-cms-5.0.4 node_modules/stylelint/lib/rules/no-extra-semicolons/README.md
trusty-cms-5.0.3 node_modules/stylelint/lib/rules/no-extra-semicolons/README.md
trusty-cms-5.0.2 node_modules/stylelint/lib/rules/no-extra-semicolons/README.md
trusty-cms-5.0.1 node_modules/stylelint/lib/rules/no-extra-semicolons/README.md
trusty-cms-4.3.5 node_modules/stylelint/lib/rules/no-extra-semicolons/README.md
trusty-cms-5.0.0 node_modules/stylelint/lib/rules/no-extra-semicolons/README.md
trusty-cms-4.3.4 node_modules/stylelint/lib/rules/no-extra-semicolons/README.md
trusty-cms-4.3.3 node_modules/stylelint/lib/rules/no-extra-semicolons/README.md
trusty-cms-4.3.2 node_modules/stylelint/lib/rules/no-extra-semicolons/README.md
trusty-cms-4.3.1 node_modules/stylelint/lib/rules/no-extra-semicolons/README.md
trusty-cms-4.3 node_modules/stylelint/lib/rules/no-extra-semicolons/README.md
trusty-cms-4.2.3 node_modules/stylelint/lib/rules/no-extra-semicolons/README.md
trusty-cms-4.2.2 node_modules/stylelint/lib/rules/no-extra-semicolons/README.md
trusty-cms-4.2.1 node_modules/stylelint/lib/rules/no-extra-semicolons/README.md
trusty-cms-4.2 node_modules/stylelint/lib/rules/no-extra-semicolons/README.md
trusty-cms-4.1.9 node_modules/stylelint/lib/rules/no-extra-semicolons/README.md