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

Feat/codiga integration #11

Merged
merged 4 commits into from
Jan 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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