@spraoi/stylelint-config
v0.30.0
Published
An opinionated, extenisble stylelint config to enforce high-quality stylesheets.
Downloads
17
Maintainers
Keywords
Readme
@spraoi/stylelint-config
An opinionated, extensible stylelint config to enforce high-quality stylesheets.
Installation
yarn add --dev @spraoi/prettier-config @spraoi/stylelint-config prettier stylelint
Usage
Add the following configuration to the root of your project:
.stylelintrc
{
"extends": ["@spraoi/stylelint-config"]
}
.prettierrc.js
module.exports = require('@spraoi/prettier-config');
package.json
{
"scripts": {
"lint:styles": "stylelint --ignore-path .gitignore \"src/**/*.js\""
}
}
You can then run yarn lint:styles
.