Skip to content

ivanblazevic/stylelint-regex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

stylelint-regex

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published