diff --git a/.jscsrc b/.jscsrc index 29720b3..570b19e 100644 --- a/.jscsrc +++ b/.jscsrc @@ -1,6 +1,7 @@ { "excludeFiles": [ - "node_modules/**" + "node_modules/**", + "pjax.js" ], "fileExtensions": [ ".js" diff --git a/package.json b/package.json index 48adb94..4fc395f 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "tape": "^3.0.0" }, "scripts": { - "lint": "jscs **/*.js && jshint . --exclude-path .gitignore", + "lint": "jscs . && jshint . --exclude-path .gitignore", "standalone": "browserify index.js --standalone Pjax > pjax.js", "build-debug": "browserify index.js --debug --standalone Pjax > pjax.js", "tests": "tape -r ./tests/index.js ./tests/**/*.js",