Skip to content

Commit

Permalink
feat(husky): run fix-redirects command in precommit (mdn#33485)
Browse files Browse the repository at this point in the history
* feat(husky): run fix-redircts command in precommit

* do validation as well
  • Loading branch information
OnkarRuikar authored May 14, 2024
1 parent a6aec62 commit 1e3ee81
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .lintstagedrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
export default {
"files/en-us/_redirects.txt": (filenames) => [
`yarn content fix-redirects en-US`,
`yarn content validate-redirects en-us --strict`,
],
};

0 comments on commit 1e3ee81

Please sign in to comment.