July 2018
Intermediate to advanced
420 pages
8h 46m
English
Open the package.json file at the root of the ./Client folder and add the following code, right after the lint task:
"sasslint": "./node_modules/.bin/stylelint \"src/**/*.scss\" --syntax scss || echo \"Ops: Stylelint faild for some file(s).\"",
Note that we are using the Stylelint from our local node_modules folder. This helps us to ensure that the whole team uses the same plugin version, avoiding compatibility issues.
Read now
Unlock full access