@kununu/stylelint-config
v4.2.11
Published
kununu's stylelint config
Downloads
3,846
Maintainers
Readme
@kununu/stylelint-config
kununu style linter configuration
These configurations are for stylelint linter.
📦 Installation
Add @kununu/stylelint-config npm package as a dev dependency to your project:
npm install @kununu/stylelint-config --save-dev
💻 Usage
Create a .stylelintrc
file with the following configuration:
{
"extends": "@kununu/stylelint-config"
}
See docs to find more detailed information on stylelint configuration and usage.
And add
"lint": "stylelint '**/*.scss'",
to your npm file.
⚡️ Editor Plugins
At kununu, @kununu/stylelint-config linter runs on every commit, but finding a lint error after push can be frustrating and a waste time. In order to avoid it, editor plugins are available to warn you and validate your code.
There's what we use and recommend: