@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 stylelint@10.0.1 @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" } }