Skip to content

Commit 5381853

Browse files
committed
[security] update lint-staged
1 parent 4cd548a commit 5381853

File tree

2 files changed

+314
-806
lines changed

2 files changed

+314
-806
lines changed

package.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"react-native-linear-gradient": "2.5.6",
4040
"bs-platform": "^5.2.0",
4141
"husky": "^1.3.0",
42-
"lint-staged": "^8.1.0",
42+
"lint-staged": "^10.1.1",
4343
"npmpub": "^5.0.0",
4444
"prettier": "^1.18.0",
4545
"reason-react": "0.7.0",
@@ -51,17 +51,15 @@
5151
},
5252
"lint-staged": {
5353
"*.{md,json,js,css}": [
54-
"prettier --write",
55-
"git add"
54+
"prettier --write"
5655
],
5756
"*.{re,rei}": [
58-
"bsrefmt --in-place",
59-
"git add"
57+
"bsrefmt --in-place"
6058
]
6159
},
6260
"husky": {
6361
"hooks": {
6462
"pre-commit": "lint-staged"
6563
}
6664
}
67-
}
65+
}

0 commit comments

Comments
 (0)