Skip to content

Commit

Permalink
do validation as well
Browse files Browse the repository at this point in the history
  • Loading branch information
OnkarRuikar committed May 8, 2024
1 parent 366f935 commit 89fdaa1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .lintstagedrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
export default {
"files/en-us/_redirects.txt": (filenames) => `yarn content fix-redirects en-US`,
}
"files/en-us/_redirects.txt": (filenames) => [
`yarn content fix-redirects en-US`,
`yarn content validate-redirects en-us --strict`,
],
};

0 comments on commit 89fdaa1

Please sign in to comment.