Skip to content

Commit 32335f7

Browse files
committed
[security] update lint-staged
1 parent 0e12811 commit 32335f7

File tree

2 files changed

+318
-831
lines changed

2 files changed

+318
-831
lines changed

package.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"devDependencies": {
2828
"bs-platform": "^7.0.0",
2929
"husky": "^1.3.0",
30-
"lint-staged": "^8.1.0",
30+
"lint-staged": "^10.1.1",
3131
"npmpub": "^5.0.0",
3232
"prettier": "^1.18.0"
3333
},
@@ -45,12 +45,10 @@
4545
},
4646
"lint-staged": {
4747
"*.{md,json,js,css}": [
48-
"prettier --write",
49-
"git add"
48+
"prettier --write"
5049
],
5150
"*.{re,rei}": [
52-
"bsrefmt --in-place",
53-
"git add"
51+
"bsrefmt --in-place"
5452
]
5553
},
5654
"husky": {
@@ -59,4 +57,3 @@
5957
}
6058
}
6159
}
62-

0 commit comments

Comments
 (0)