Skip to content
This repository has been archived by the owner on May 4, 2023. It is now read-only.

Commit

Permalink
Merge pull request #11 from codiga/feat/codiga-integration
Browse files Browse the repository at this point in the history
Feat/codiga integration
  • Loading branch information
juli1 authored Jan 9, 2023
2 parents 15f41bf + bd56069 commit d41a6dc
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

while read local_ref local_sha remote_ref remote_sha
do
npx @codiga/cli git-push-hook --remote-sha $remote_sha --local-sha $local_sha
done

exit 0
4 changes: 4 additions & 0 deletions codiga.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
rulesets:
- jsx-a11y
- jsx-react
- react-best-practices

0 comments on commit d41a6dc

Please sign in to comment.