File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -84,6 +84,7 @@ v18.18.0
8484- ` npm run lint:markup ` - проверить HTML-разметку через W3C-валидатор
8585- ` npm run lint:styles ` - проверить проект на совместимость с stylelint
8686- ` npm run lint:spaces ` - проверить отступы с помощью editorConfig
87+ - ` npm run lint:html ` - проверить разметку по правилам linthtml
8788
8889## Работа с разметкой
8990Все HTML-файлы с разметкой кладите в папке ` /source ` .
Original file line number Diff line number Diff line change 3131 "lint:spaces" : " editorconfig-cli" ,
3232 "lint:styles" : " stylelint \" source/sass/**/*.scss\" --custom-syntax postcss-scss" ,
3333 "lint:markup" : " cd build && html-validator --quiet" ,
34- "lint:linthtml " : " linthtml source/**/*.html --config .linthtmlrc" ,
34+ "lint:html " : " linthtml source/**/*.html --config .linthtmlrc" ,
3535 "lint:bem" : " gulp lintBem --silent" ,
3636 "prelint" : " gulp processMarkup --silent" ,
37- "lint" : " npm run lint:spaces && npm run lint:styles && npm run lint:markup && npm run lint:bem" ,
37+ "lint" : " npm run lint:spaces && npm run lint:styles && npm run lint:markup && npm run lint:bem && lint:html " ,
3838 "start" : " gulp runDev" ,
3939 "build" : " gulp buildProd" ,
4040 "preview" : " gulp buildProd && gulp startServer"
You can’t perform that action at this time.
0 commit comments