stylelint-restrict

1.0.0 • Public • Published

#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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    734
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    734

Package Sidebar

Install

npm i stylelint-restrict

Weekly Downloads

555

Version

1.0.0

License

ISC

Unpacked Size

2.48 kB

Total Files

3

Last publish

Collaborators

  • blazh