From 0b3550f3052f203775ce3c0dcfd95070553818d0 Mon Sep 17 00:00:00 2001 From: Josh Date: Fri, 4 Aug 2023 09:46:23 -0400 Subject: [PATCH] chore: fix CODEOWNERS (#10) Also introduce pre-commit --- .github/CODEOWNERS | 2 +- .pre-commit-config.yaml | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 .pre-commit-config.yaml diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 7758299..1416bae 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1 +1 @@ -* @josh +* @jokajak diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..9a7fbdf --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,13 @@ +repos: +- repo: https://github.com/pre-commit/pre-commit-hooks + rev: v3.2.0 + hooks: + - id: trailing-whitespace + - id: end-of-file-fixer + - id: check-yaml + - id: check-added-large-files +- repo: https://github.com/JohnnyMorganz/StyLua + rev: v0.18.1 + hooks: + - name: Run stylua + id: stylua-github