Sha256: 42376607f33232435ff69419838e97a8828b0c3347e4f95d87e539cf6ba853b2

Contents?: true

Size: 487 Bytes

Versions: 24

Compression:

Stored size: 487 Bytes

Contents

# at-mixin-pattern

Specify a pattern for Sass/SCSS-like mixin names.

```scss
@mixin complex-object ($items: 10) {
/**    ↑
 * The pattern of this */
```

## Options

`regex` or `string`

A string will be translated into a RegExp like so `new RegExp(yourString)` — so be sure to escape properly.

### E.g. `/foo-.+/`

The following patterns are considered warnings:

```scss
@mixin boo-bar {
```

The following patterns are *not* considered warnings:

```scss
@mixin foo-bar {
```

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
trusty-cms-4.1.8 node_modules/stylelint-scss/src/rules/at-mixin-pattern/README.md
trusty-cms-4.1.7 node_modules/stylelint-scss/src/rules/at-mixin-pattern/README.md
trusty-cms-4.1.6 node_modules/stylelint-scss/src/rules/at-mixin-pattern/README.md
trusty-cms-4.1.5 node_modules/stylelint-scss/src/rules/at-mixin-pattern/README.md