From 3359b606435a428c15dfd1a5b3beda74163efac4 Mon Sep 17 00:00:00 2001 From: Juli Date: Mon, 14 Oct 2024 14:23:53 +0300 Subject: [PATCH] Add eslintignore --- .eslintignore | 5 +++++ package.json | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .eslintignore diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 00000000..a882644e --- /dev/null +++ b/.eslintignore @@ -0,0 +1,5 @@ +**/vendor/**/*.js +backstop_data/ +test-config/ +engine_scripts/ +run-test.js diff --git a/package.json b/package.json index ee06d04f..aee51645 100644 --- a/package.json +++ b/package.json @@ -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",