Skip to content

Commit 471ff09

Browse files
committed
Fix lint-staged task
1 parent 546623b commit 471ff09

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,14 +76,14 @@
7676
"rimraf": "^2.6.1"
7777
},
7878
"lint-staged": {
79-
"./src": [
80-
"eslint",
81-
"git add"
79+
"src/*.js": [
80+
"lint",
81+
"git add",
82+
"npm test -- -b --findRelatedTests"
8283
]
8384
},
8485
"pre-commit": [
85-
"lint:staged",
86-
"test"
86+
"lint:staged"
8787
],
8888
"jest": {
8989
"rootDir": "src"

0 commit comments

Comments
 (0)