Skip to content
Snippets Groups Projects
Commit 95efab3c authored by nimrod's avatar nimrod
Browse files

Added pre-commit hook.

parent 64b1f6f4
No related branches found
No related tags found
No related merge requests found
---
- id: sqlint
name: sqlint
entry: sqlint
language: ruby
minimum_pre_commit_version: 0.15.0
types: [sql]
...@@ -38,6 +38,18 @@ Support for `sqlint` is provided for the following editors: ...@@ -38,6 +38,18 @@ Support for `sqlint` is provided for the following editors:
- VIM, via [Syntastic](https://github.com/scrooloose/syntastic), [Neomake](https://github.com/neomake/neomake) or [ALE](https://github.com/w0rp/ale) - VIM, via [Syntastic](https://github.com/scrooloose/syntastic), [Neomake](https://github.com/neomake/neomake) or [ALE](https://github.com/w0rp/ale)
- SublimeText, via [SublimeLinter](https://github.com/SublimeLinter/SublimeLinter3/) - SublimeText, via [SublimeLinter](https://github.com/SublimeLinter/SublimeLinter3/)
### Using with pre-commit
Add this to your `.pre-commit-hooks.yaml`:
```yaml
- repo: https://github.com/purcell/sqlint
rev: master
hooks:
- id: sqlint
```
### Authors ### Authors
This software was written by This software was written by
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment