From 8386b355c95553aef2137474fbebfc0aa6336300 Mon Sep 17 00:00:00 2001 From: Behind The Math Date: Mon, 11 Feb 2019 23:03:25 -0500 Subject: [PATCH] Clean up config --- .eslintignore | 1 - .prettierignore | 1 - package.json | 4 ++-- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.eslintignore b/.eslintignore index ea4c27c..2f36697 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,4 +1,3 @@ pjax.js -node_modules/** pjax.min.js *.json diff --git a/.prettierignore b/.prettierignore index ea4c27c..2f36697 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,4 +1,3 @@ pjax.js -node_modules/** pjax.min.js *.json diff --git a/package.json b/package.json index 1c363d3..35baf50 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "uglify-js": "^3.3.8" }, "scripts": { - "lint": "eslint **/*.js", + "lint": "eslint .", "standalone": "browserify index.js --standalone Pjax > pjax.js", "build": "npm run standalone && uglifyjs pjax.js -o pjax.min.js", "build-debug": "browserify index.js --debug --standalone Pjax > pjax.js", @@ -64,7 +64,7 @@ }, "lint-staged": { "*.js": [ - "eslint --fix **/*.js", + "eslint --fix", "prettier --write", "git add" ]