Skip to content

Commit b8eec47

Browse files
committed
Exclude vendor/ from linting
1 parent dc0c485 commit b8eec47

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@
1919
"preview": "npm run build && browser-sync start -s build/ --cors --no-notify --no-ui",
2020
"prelint": "gulp processMarkup --silent",
2121
"lint": "npm-run-all -pc lint:**",
22-
"lint:spaces": "editorconfig-cli",
22+
"lint:spaces": "ec --exclude vendor/*",
2323
"lint:markup": "cd build && html-validator --quiet",
2424
"lint:html": "linthtml build/**/*.html --config .linthtmlrc",
2525
"lint:bem": "gulp lintBem --silent",
2626
"lint:styles": "stylelint \"source/styles/**/*.scss\"",
27-
"lint:scripts": "eslint . --ignore-path .gitignore",
27+
"lint:scripts": "eslint . --ignore-path .gitignore --ignore-pattern 'vendor/**'",
2828
"optimize": "npm-run-all -p optimize:**",
2929
"optimize:raster": "gulp optimizeRaster",
3030
"optimize:vector": "gulp optimizeVector"

0 commit comments

Comments
 (0)