From 8e6807d99f3c8be475133b8433a3230adf767db6 Mon Sep 17 00:00:00 2001 From: Jonathan Belcher Date: Tue, 6 Nov 2018 15:31:12 -0500 Subject: [PATCH] Ignore vendor files --- .eslintignore | 22 +++++++++++++++++++++- package.json | 2 +- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/.eslintignore b/.eslintignore index 0baf8092f7f..f44a9c08503 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1 +1,21 @@ -*.min.js \ No newline at end of file +*.min.js + +/assets/js/accounting/** +/assets/js/flexslider/** +/assets/js/jquery-blockui/** +/assets/js/jquery-cookie/** +/assets/js/jquery-flot/** +/assets/js/jquery-payment/** +/assets/js/jquery-qrcode/** +/assets/js/jquery-serializejson/** +/assets/js/jquery-tiptip/** +/assets/js/jquery-ui-touch-punch/** +/assets/js/js-cookie/** +/assets/js/photoswipe/** +/assets/js/prettyPhoto/** +/assets/js/round/** +/assets/js/select2/** +/assets/js/selectWoo/** +/assets/js/stupidtable/** +/assets/js/zeroclipboard/** +/assets/js/zoom/** \ No newline at end of file diff --git a/package.json b/package.json index 3ba0d77be97..dbd2ac77efd 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "build": "grunt", "build-watch": "grunt watch", "lint:js": "eslint assets/js --ext=js", - "lint:js-fix": "eslint assets/js --ext=js --fix", + "lint:js-fix": "eslint --fix assets/js --ext=js ", "test": "cross-env NODE_CONFIG_DIR='./tests/e2e-tests/config' BABEL_ENV=commonjs mocha \"tests/e2e-tests\" --require babel-register --recursive", "test:grep": "cross-env NODE_CONFIG_DIR='./tests/e2e-tests/config' BABEL_ENV=commonjs mocha \"tests/e2e-tests\" --require babel-register --grep ", "test:single": "cross-env NODE_CONFIG_DIR='./tests/e2e-tests/config' BABEL_ENV=commonjs mocha --require babel-register"