1.2.0 • Published 5 years ago

stylelint-regex v1.2.0

Weekly downloads
786
License
MIT
Repository
-
Last release
5 years ago

v1.2.0 breaking change in configuration, it accepts array of objects now

Stylelint Regex

Full flexibility for rule creation using regex

Examples:

Disallow certain file name in @imports

"stylelint/regex": [[{"@import styles/main": "Global-styling is forbidden to import"}]]

Ignore per file

"stylelint/regex": [[{"@import styles/main": "Global-styling is forbidden to import"}], { ignore: ["styles/global.scss"] }]

This will not throw error if @import styles/main is found inside the styles/global.scss

1.2.0

5 years ago

1.1.0

5 years ago

1.0.0

6 years ago