Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit c2f65773 authored by Christophe Chaudier's avatar Christophe Chaudier :rocket:
Browse files

Merge branch '77-add-git-hook-with-lint' into 'master'

Resolve "add git hook with lint"

Closes #77

See merge request !84
parents 15464edd dfa175af
No related branches found
No related tags found
1 merge request!84Resolve "add git hook with lint"
Pipeline #8803 passed
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
echo 'Starting commit... 🐶'
npm run lint -- --fix
echo 'Code indented 👍'
This diff is collapsed.
......@@ -13,7 +13,9 @@
"write-translations": "docusaurus write-translations",
"write-heading-ids": "docusaurus write-heading-ids",
"lint": "eslint .",
"lint-fix": "eslint . --fix"
"lint-fix": "eslint . --fix",
"prepare": "husky install",
"husky": "husky install"
},
"dependencies": {
"@docusaurus/core": "^2.0.1",
......@@ -55,6 +57,7 @@
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-react": "^7.24.0",
"husky": "^8.0.1",
"node": "^16.14.2",
"prettier": "^2.3.2"
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment