Skip to content

Commit

Permalink
feat: precommit script added
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Esteban committed Oct 19, 2021
1 parent 34d43e8 commit b85f7ca
Show file tree
Hide file tree
Showing 6 changed files with 383 additions and 36,139 deletions.
3 changes: 2 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"react/jsx-handler-names": 0,
"react/jsx-fragments": 0,
"react/no-unused-prop-types": 0,
"import/export": 0
"import/export": 0,
"no-console": 2
}
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ yarn-error.log*
license-report.md

.idea
.eslintcache
2 changes: 1 addition & 1 deletion .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install commitlint --edit $1
npx --no-install commitlint --edit $1
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm run test
npm run lint
Loading

0 comments on commit b85f7ca

Please sign in to comment.