File tree Expand file tree Collapse file tree 3 files changed +19
-19
lines changed
Expand file tree Collapse file tree 3 files changed +19
-19
lines changed Original file line number Diff line number Diff line change 1- root: true
2-
3- parserOptions:
4- ecmaVersion: 2022
5- sourceType: "module"
6-
7- env:
8- es2022: true
9- browser: true
10-
11- globals:
12- noUiSlider: readonly
13- Pristine: readonly
14-
15- extends:
16- "htmlacademy/vanilla"
1+ {
2+ "root": true,
3+ " parserOptions": {
4+ " ecmaVersion" : 2022,
5+ " sourceType" : "module"
6+ },
7+ " env": {
8+ " es2022" : true,
9+ " browser" : true
10+ },
11+ " globals": {
12+ " noUiSlider": " readonly",
13+ " Pristine": " readonly"
14+ },
15+ " extends": "htmlacademy/vanilla"
16+ }
Original file line number Diff line number Diff line change 108108- ` npm run lint:styles` - проверяет проект на совместимость с stylelint
109109- ` npm run lint:spaces` - проверяет отступы с помощью editorConfig
110110- ` npm run lint:html` - проверяет разметку по правилам linthtml
111- - ` npm run lint:js ` - проверяет скрипты по правилам eslint
111+ - ` npm run lint:scripts ` - проверяет скрипты по правилам eslint
112112
113113# # Работа с разметкой
114114
Original file line number Diff line number Diff line change 3434 "lint:markup" : " cd build && html-validator --quiet --continue" ,
3535 "lint:html" : " linthtml source/**/*.html --config .linthtmlrc" ,
3636 "lint:bem" : " gulp lintBem --silent" ,
37- "lint:js " : " eslint source/scripts " ,
37+ "lint:scripts " : " eslint . --ignore-path .gitignore " ,
3838 "prelint" : " gulp processMarkup --silent" ,
39- "lint" : " npm run lint:spaces && npm run lint:styles && npm run lint:markup && npm run lint:bem && npm run lint:html && npm run lint:js " ,
39+ "lint" : " npm run lint:spaces && npm run lint:styles && npm run lint:markup && npm run lint:bem && npm run lint:html && npm run lint:scripts " ,
4040 "optimizeImages" : " gulp optimizeImages" ,
4141 "start" : " gulp runDev" ,
4242 "build" : " gulp buildProd" ,
You can’t perform that action at this time.
0 commit comments