Skip to content

Commit

Permalink
Add eslintignore
Browse files Browse the repository at this point in the history
  • Loading branch information
Juli authored and Juli committed Oct 14, 2024
1 parent 4f93302 commit 3359b60
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
**/vendor/**/*.js
backstop_data/
test-config/
engine_scripts/
run-test.js
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"lint:html": "linthtml source/**/*.html --config .linthtmlrc",
"lint:bem": "gulp lintBem --silent",
"lint:styles": "stylelint \"source/styles/**/*.scss\"",
"lint:scripts": "eslint . --ignore-path .gitignore --ignore-pattern vendor/ --ignore-pattern backstop_data/ --ignore-pattern test-config/ --ignore-pattern engine_scripts/ --ignore-pattern run-test.js",
"lint:scripts": "eslint .",
"optimize": "npm-run-all -p optimize:**",
"optimize:raster": "gulp optimizeRaster",
"optimize:vector": "gulp optimizeVector",
Expand Down

0 comments on commit 3359b60

Please sign in to comment.