diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..f128d86 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,6 @@ +repos: + - repo: https://github.com/JohnnyMorganz/StyLua + rev: v2.3.0 + hooks: + - id: stylua-system + args: [--check, --respect-ignores] diff --git a/.stylua.toml b/.stylua.toml new file mode 100644 index 0000000..ad33486 --- /dev/null +++ b/.stylua.toml @@ -0,0 +1,3 @@ +column_width = 88 +indent_type = "Spaces" +collapse_simple_statement = "Always"