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

Commit 6502926

Browse files
feat: codiga integration
1 parent 15f41bf commit 6502926

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

.husky/pre-push

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
while read local_ref local_sha remote_ref remote_sha
5+
do
6+
npx @codiga/cli git-push-hook --remote-sha $remote_sha --local-sha $local_sha
7+
done
8+
9+
exit 0

codiga.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
rulesets:
2+
- jsx-a11y
3+
- jsx-react
4+
- react-best-practices

0 commit comments

Comments
 (0)