Skip to content

Commit 3a59ec6

Browse files
committed
[meta] better eccheck command
1 parent 380fa25 commit 3a59ec6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,8 @@
1717
"test:harmony": "node --harmony --es-staging test",
1818
"test:corejs": "nyc tape test-corejs.js",
1919
"posttest": "aud --production",
20-
"prelint": "npm run eccheck",
20+
"prelint": "eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git')",
2121
"lint": "eslint --ext=js,mjs .",
22-
"eccheck": "eclint check $(git ls-files)",
2322
"version": "auto-changelog && git add CHANGELOG.md",
2423
"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
2524
},

0 commit comments

Comments
 (0)