chore: add stylua and pre-commit hook
This commit is contained in:
parent
7b5d923dee
commit
d02d663251
|
@ -0,0 +1,6 @@
|
|||
repos:
|
||||
- repo: https://github.com/JohnnyMorganz/StyLua
|
||||
rev: v2.3.0
|
||||
hooks:
|
||||
- id: stylua-system
|
||||
args: [--check, --respect-ignores]
|
|
@ -0,0 +1,3 @@
|
|||
column_width = 88
|
||||
indent_type = "Spaces"
|
||||
collapse_simple_statement = "Always"
|
Loading…
Reference in New Issue