1.1.5 • Published 7 years ago
stylelint-config-jinn v1.1.5
stylelint-config-jinn
Shareable stylelint configuration for the Jinn CSS style guide
Installation
$ npm install --save-dev stylelint stylelint-config-jinn
Usage
Once the stylelint-config-jinn
package is installed, you can use it by specifying stylelint-config-jinn
in the extends section of your Stylelint configuration.
{
"extends": "stylelint-config-jinn",
"rules": {
// Additional, per-project rules...
}
}
Using the stylelint-config-jinn
config with "stylelint-config-standard"
There are several rules in the stylelint-config-standard
ruleset that Jinn style is not opinionated about that you might want to enforce in your project.
To use Jinn style in conjunction with Stylelint's recommended rule set, extend them both, making sure to list stylelint-config-jinn
last:
{
"extends": ["stylelint-config-standard", "stylelint-config-jinn"],
"rules": {
// Additional, per-project rules...
}
}
License
Apache-2 © Jinn