Skip to content

Commit b85f7ca

Browse files
author
Ivan Esteban
committed
feat: precommit script added
1 parent 34d43e8 commit b85f7ca

File tree

6 files changed

+383
-36139
lines changed

6 files changed

+383
-36139
lines changed

.eslintrc

+2-1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"react/jsx-handler-names": 0,
3131
"react/jsx-fragments": 0,
3232
"react/no-unused-prop-types": 0,
33-
"import/export": 0
33+
"import/export": 0,
34+
"no-console": 2
3435
}
3536
}

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,4 @@ yarn-error.log*
2828
license-report.md
2929

3030
.idea
31+
.eslintcache

.husky/commit-msg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh
22
. "$(dirname "$0")/_/husky.sh"
33

4-
npx --no-install commitlint --edit $1
4+
npx --no-install commitlint --edit $1

.husky/pre-commit

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh
22
. "$(dirname "$0")/_/husky.sh"
33

4-
npm run test
4+
npm run lint

0 commit comments

Comments
 (0)