Skip to content

Commit

Permalink
Update pre-commit hook and format script to process .rei files (faceb…
Browse files Browse the repository at this point in the history
  • Loading branch information
sgny authored and MoOx committed May 15, 2019
1 parent ff476f6 commit b9e7459
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"release": "lerna publish",
"format": "yarn format:most && yarn format:re",
"format:most": "prettier --write \"**/*.{js,json,css,md}\"",
"format:re": "find . -name \"*.re\" | grep -v \"node_modules\" | xargs bsrefmt --in-place",
"format:re": "find . -name \"*.re\" -or -name \"*.rei\" | grep -v \"node_modules\" | xargs bsrefmt --in-place",
"clean": "lerna exec --concurrency 1 -- yarn clean",
"test": "lerna exec --concurrency 1 -- yarn test"
},
Expand All @@ -25,7 +25,7 @@
"proseWrap": "always"
},
"lint-staged": {
"*.re": [
"*.{re,rei}": [
"bsrefmt --in-place",
"git add"
],
Expand Down

0 comments on commit b9e7459

Please sign in to comment.