Skip to content

Commit b97e01e

Browse files
committed
feat: add .pre-commit-config.yaml for vala-lint
Integrate vala-lint to automate code style checks. See: https://github.com/vala-lang/vala-lint
1 parent aa4aee2 commit b97e01e

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
repos:
2+
- repo: local
3+
hooks:
4+
- id: vala-lint
5+
name: Vala-Lint
6+
entry: env LD_LIBRARY_PATH=/usr/local/lib64 GIO_USE_VFS=local dbus-run-session -- io.elementary.vala-lint
7+
language: system
8+
files: \.(vala|gs)$
9+

0 commit comments

Comments
 (0)