- npm i
- gulp - for start gulp
- gulp build - production
- npm run deploy
- open url https://{login GitHub}.github.io/{repository name}/
.stylelintrc - Stylelint rules
.stylelintignore - Stylelint ignore
- npm run stylelint - for see errors
- npm run stylelint:fix - for fix errors
for auto fix in VsCode, added this line to settings.json:
"editor.codeActionsOnSave": {"source.fixAll.stylelint": true}
for see errors in file:
- VsCode: install stylelint in the app store
- IDE from JetBrains: Settings > Stylelint (in search) > tick enable
.prettierrc.json - Prettier rules
for fix in VsCode:
- install prettier in the app store
- right-click on the document
- Format Document With
- Configure Default Formatter...
- Choose Prettier - Code formatter
for auto fix in VsCode, added this line to settings.json:
"editor.formatOnSave": true,
for fix in IDE from JetBrains:
- Settings > Plugins > Marketplace > search prettier and install
- Search in settings prettier and tick this points:
On code reformat and On save - Ctrl + Alt + Shift + P for format document