Skip to content

Commit d1e7532

Browse files
authored
feat: add pre-commit config (#7)
Signed-off-by: Guennadi Maximov C <g.maxc.fox@protonmail.com>
1 parent e6ea188 commit d1e7532

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v6.0.0
4+
hooks:
5+
- id: end-of-file-fixer
6+
7+
- repo: local
8+
hooks:
9+
- id: stylua
10+
name: StyLua
11+
language: system
12+
entry: stylua
13+
types: [lua]
14+
verbose: true
15+
16+
- id: selene
17+
name: Run selene linter
18+
language: system
19+
entry: selene
20+
types: [lua]
21+
verbose: true

0 commit comments

Comments
 (0)