Shareable stylelint config
yarn add --dev ssh://git@github.com:Karat/css-style.git
yarn add --dev stylelint
Extend in your project stylelint config:
// .stylelintrc.js
module.exports = {
extends: ['css-style']
}
yarn run stylelint "app/**/*.scss"
-
With autofix option:
yarn run stylelint "app/**/*.scss" --fix