Skip to content

Commit

Permalink
add lint-staged, pre-commit for eslint and prettier (github#20368)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikesurowiec authored Jul 15, 2021
1 parent 2715207 commit d45eb12
Show file tree
Hide file tree
Showing 4 changed files with 780 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ coverage/
/data/early-access
dist
.next
.eslintcache

# blc: broken link checker
blc_output.log
Expand Down
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
. "$(dirname "$0")/_/husky.sh"

node script/prevent-translation-commits.js
npx lint-staged
Loading

0 comments on commit d45eb12

Please sign in to comment.