Skip to content

Commit 1e2730e

Browse files
committed
Only lint before commit
1 parent c5fafd6 commit 1e2730e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@
88
"bin"
99
],
1010
"scripts": {
11-
"precommit": "npm run test",
11+
"precommit": "npm run lint",
1212
"prepublish": "npm run build",
1313
"pretest": "npm run build",
1414
"build": "mkdir -p dist && async-to-gen lib/index.js > dist/index.js",
15-
"test": "xo && ava"
15+
"lint": "xo",
16+
"test": "npm run lint && ava"
1617
},
1718
"ava": {
1819
"require": [

0 commit comments

Comments
 (0)