@shelf.network/stylelint-config
v1.3.0
Published
Shared stylelint config for shelf-network web apps and libraries.
Downloads
9
Readme
@shelf.network/stylelint-config
This is a shared config for Shelf.Network web apps and libraries. The config is based on eslint-config-standard with some tweaks for SCSS compability.
Add To Your Project
Install styleling and the config:
npm i -D [email protected] @shelf.network/stylelint-config
Add the
.stylelintrc
file and extend the shared config{ "extends": "@shelf.network/stylelint-config" }
Add scripts to
package.json
{ // ... "scripts": { // ... "stylelint": "stylelint \"src/**/*.{vue,scss}\"", "stylelintfix": "stylelint \"src/**/*.{vue,scss}\" --fix" } }