Skip to content

ivanblazevic/stylelint-restrict-per-files

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Restrict usage of color variables in SASS/SCSS only to certain files

In the example bellow, color variables can only be defined in styles\common\variables.scss.

"restrict/color-variables-per-files": {
  files: ["styles\\common\\variables.scss"]
},

IMPORTANT: This path needs to be adjusted based on OS.

About

Stylelint restriction rules

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published