Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
subugoe
emo
TIDO
Commits
b4d756de
Commit
b4d756de
authored
Oct 22, 2020
by
nwindis
☕
Browse files
build: add pre commit hook for linting, fixing and testing
parent
c956e329
Pipeline
#155809
passed with stages
in 3 minutes
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
package.json
View file @
b4d756de
...
...
@@ -96,7 +96,7 @@
},
"husky"
:
{
"hooks"
:
{
"pre-commit"
:
"npm run
lint:scss && npm run lint:markdown && npm run
lint && npm run test
:unit
"
,
"pre-commit"
:
"npm run lint && npm run test"
,
"prepare-commit-msg"
:
"exec < /dev/tty && git cz --hook || true"
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment