diff --git a/.husky/pre-push b/.husky/pre-push new file mode 100755 index 0000000..857a75d --- /dev/null +++ b/.husky/pre-push @@ -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 diff --git a/codiga.yml b/codiga.yml new file mode 100644 index 0000000..ca0f09b --- /dev/null +++ b/codiga.yml @@ -0,0 +1,4 @@ +rulesets: + - jsx-a11y + - jsx-react + - react-best-practices \ No newline at end of file