Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
sqlint
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nimrod
sqlint
Commits
95efab3c
Commit
95efab3c
authored
6 years ago
by
nimrod
Browse files
Options
Downloads
Patches
Plain Diff
Added pre-commit hook.
parent
64b1f6f4
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.pre-commit-hooks.yaml
+7
-0
7 additions, 0 deletions
.pre-commit-hooks.yaml
README.md
+12
-0
12 additions, 0 deletions
README.md
with
19 additions
and
0 deletions
.pre-commit-hooks.yaml
0 → 100644
+
7
−
0
View file @
95efab3c
---
-
id
:
sqlint
name
:
sqlint
entry
:
sqlint
language
:
ruby
minimum_pre_commit_version
:
0.15.0
types
:
[
sql
]
This diff is collapsed.
Click to expand it.
README.md
+
12
−
0
View file @
95efab3c
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment