This website works better with JavaScript.
Home
Explore
Help
Sign In
lukechilds
/
zap-desktop
mirror of
https://github.com/lukechilds/zap-desktop.git
Watch
1
Star
0
Fork
0
Code
Issues
Projects
Releases
Wiki
Activity
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1057
Commits
9
Branches
5
Tags
147 MiB
Tree:
0a11c47329
gh-pages
l10n_master2
master
next
patch-1
renovate/babel-plugin-styled-components-1.x
renovate/lint-staged-8.x
renovate/prettier-1.x
renovate/react-icons-3.x
v0.1.0-beta
v0.1.1-beta
v0.2.0-beta
v0.2.1-beta
v0.2.2-beta
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from '0a11c47329'
${ noResults }
zap-desktop
/
.huskyrc
6 lines
82 B
Raw
Normal View
History
build(lint): lint/format in git pre-commit hook Currently we use eslint and prettier to lint and format code. However, running the linter is a manual step that is easy to forget. To improve this we run our lint scripts in a git pre-commit hook. This functionality is optional and can be enabled by adding a .opt-in file with a line `pre-commit`.
7 years ago
{
"hooks": {
"pre-commit": "opt --in pre-commit --exec 'lint-staged'"
}
}