From ef4259908c71b379648893be375e9b0577dc7cde Mon Sep 17 00:00:00 2001 From: Jeff Avallone Date: Sat, 10 Feb 2018 18:31:16 -0500 Subject: [PATCH] Using gitignore for eslint --- .eslintignore | 2 -- package.json | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) delete mode 100644 .eslintignore diff --git a/.eslintignore b/.eslintignore deleted file mode 100644 index 3e2e84b..0000000 --- a/.eslintignore +++ /dev/null @@ -1,2 +0,0 @@ -build/ -node_modules/ diff --git a/package.json b/package.json index d9f79fe..440aec7 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "start:http-server": "http-server ./build", "build": "webpack --config webpack.prod.js", "test": "jest", - "test:lint": "eslint .", + "test:lint": "eslint --ignore-path .gitignore .", "precommit": "run-s test:lint" }, "jest": {