Skip to content

Commit 9bba5fc

Browse files
author
Hugo Rialan
committed
v1 ready
1 parent 6e2fb63 commit 9bba5fc

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.gitignore

Whitespace-only changes.

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Pre-commit hook for Dataform
2+
3+
This repository contains a pre-commit hook that allows you to automate the formatting of SQL code in your Dataform project before each commit. The hook uses the dataform format command to format SQLX files.
4+
5+
### How to Use
6+
7+
```
8+
- repo: https://github.com/hrialan/pre-commit-dataform
9+
rev: v1.0.0
10+
hooks:
11+
- id: dataform_format
12+
```

0 commit comments

Comments
 (0)