Shareable stylelint config
yarn add --dev ssh://[email protected]: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