stylelint-restrict
Advanced tools
In the example bellow, color variables can only be defined in `styles\common\variables.scss`.
Weekly downloads
Readme
#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.
FAQs
In the example bellow, color variables can only be defined in `styles\common\variables.scss`.
The npm package stylelint-restrict receives a total of 892 weekly downloads. As such, stylelint-restrict popularity was classified as not popular.
We found that stylelint-restrict demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.