0.0.8 • Published 5 years ago

@dczajkowski/stylelint-rules v0.0.8

Weekly downloads
23
License
MIT
Repository
github
Last release
5 years ago

@dczajkowski/stylelint-rules

This is a stylelint plugin that provides several stylelint rules that are not available out of the box.

Installation

npm i @dczajkowski/stylelint-rules --save-dev # yarn add -D @dczajkowski/stylelint-rules

In your .stylelintrc config:

{
  "plugins": ["@dczajkowski/stylelint-rules"],
  "rules": {

  }
}

Available Rules

auto-fixable?Rule NameDescription
declaration-property-unit-whitelistRequire specific properties to have only given units
color-no-non-variablesDisallow usage of color literals (allows only variables)
no-floats-with-unitDisallow usage of floats with certain units
variables-in-filesAllow for variables to be declared only in specified files
color-variables-in-filesAllow for variables containing color values to be declared only in specified files

License

This plugin is an open-sourced software licensed under the MIT license.

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago