https://github.com/magicmark/pre-commit-eslint
pre-commit-hook for eslint
https://github.com/magicmark/pre-commit-eslint
Last synced: 3 months ago
JSON representation
pre-commit-hook for eslint
- Host: GitHub
- URL: https://github.com/magicmark/pre-commit-eslint
- Owner: magicmark
- Created: 2016-07-17T08:00:58.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-08-28T00:48:05.000Z (over 8 years ago)
- Last Synced: 2024-12-24T12:01:39.427Z (over 1 year ago)
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pre-commit ESLint Hook
This is a hook to allow [pre-commit](http://pre-commit.com) to interface with a local [eslint](http://eslint.org) configuration.
### Installing
Ensure you have eslint installed locally via your package.json.
Add this to your `.pre-commit-config.yaml`:
```
- repo: git://github.com/magicmark/pre-commit-eslint
sha: 797aeef96c9ba5aa26450a9a1fc3f7f5a8730647
hooks:
- id: local-eslint
```