Skip to content

Commit b9e7459

Browse files
sgnyMoOx
authored andcommitted
Update pre-commit hook and format script to process .rei files (#502)
1 parent ff476f6 commit b9e7459

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"release": "lerna publish",
1717
"format": "yarn format:most && yarn format:re",
1818
"format:most": "prettier --write \"**/*.{js,json,css,md}\"",
19-
"format:re": "find . -name \"*.re\" | grep -v \"node_modules\" | xargs bsrefmt --in-place",
19+
"format:re": "find . -name \"*.re\" -or -name \"*.rei\" | grep -v \"node_modules\" | xargs bsrefmt --in-place",
2020
"clean": "lerna exec --concurrency 1 -- yarn clean",
2121
"test": "lerna exec --concurrency 1 -- yarn test"
2222
},
@@ -25,7 +25,7 @@
2525
"proseWrap": "always"
2626
},
2727
"lint-staged": {
28-
"*.re": [
28+
"*.{re,rei}": [
2929
"bsrefmt --in-place",
3030
"git add"
3131
],

0 commit comments

Comments
 (0)