chore: format SQL files and check on CI
This commit is contained in:
parent
ed13d54ba1
commit
cb4282870f
11 changed files with 99 additions and 54 deletions
|
|
@ -58,6 +58,15 @@
|
|||
];
|
||||
};
|
||||
|
||||
# SQL
|
||||
sqlfluff = {
|
||||
enable = true;
|
||||
name = "sqlfluff";
|
||||
entry = "${pkgs.sqlfluff}/bin/sqlfluff lint --dialect sqlite";
|
||||
files = "\\.sql$";
|
||||
language = "system";
|
||||
};
|
||||
|
||||
# Git
|
||||
no-commit-to-branch = {
|
||||
enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue