Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arthurnn/shopifyhooks
shopify git hooks
https://github.com/arthurnn/shopifyhooks
Last synced: 28 days ago
JSON representation
shopify git hooks
- Host: GitHub
- URL: https://github.com/arthurnn/shopifyhooks
- Owner: arthurnn
- Created: 2014-09-05T19:31:38.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-09-08T18:15:59.000Z (about 10 years ago)
- Last Synced: 2023-04-11T10:29:11.658Z (over 1 year ago)
- Language: Shell
- Size: 233 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Shopify hooks
Shopify git hooks
### Installation
```
bash <(curl -s https://raw.githubusercontent.com/arthurnn/shopifyhooks/master/install.sh?_ts=$(date +%s))
```### Uninstall
```
bash <(curl -s https://raw.githubusercontent.com/arthurnn/shopifyhooks/master/uninstall.sh?_ts=$(date +%s))
```Or
```
cd /home/vagrant/src/shopify/.git/hooks
./uninstall.sh
```### What is in here?
pre-commit git hooks:
- Check for whitespaces on files
- rubocop check### F.A.Q
What if I want to skip the hooks in one commit:
- You should not do that, but if you need it, you can add -n to the commit command: `git commit -n`### Editor Integration
- Vim: install the [syntastic](https://github.com/scrooloose/syntastic) plugin
and add the line `let g:syntastic_ruby_checkers = ['mri', 'rubocop']` to your
`.vimrc`.