3.0.0 • Published 1 year ago

stylelint-elephant v3.0.0

Weekly downloads
10
License
MIT
Repository
github
Last release
1 year ago

Semantic rules for your CSS

Code always has to be written following a set of rules, it doesn't matter how many developers have worked on a project. That's the reason we use stylelint and have a couple of rules build with stylelint.

Installation

You need to have stylelint, stylelint-order and this config as part of your devDependencies.

npm i stylelint stylelint-elephant -D

Usage

Load rules

To use our rules add stylelint-elephant to your extends property in your stylelint config. For example in your .stylelintrc.

{
  "extends": [
    "stylelint-elephant"
  ]
}

Override specific rules

It's possibile to override the rules set by stylelint-elephant, we strongly discourage to do that but if you want to add your own rules add them to your stylelintconfig.

{
  "extends": [
    "stylelint-elephant"
  ],
  "rules": {
    "color-hex-case": "lower",
    "color-hex-length": "short",
  }
}
3.0.0

1 year ago

2.2.0

2 years ago

2.1.1

3 years ago

2.1.0

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.3.2

4 years ago

1.3.1

4 years ago

1.2.2

4 years ago

1.3.0

4 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago