aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/package.json
diff options
context:
space:
mode:
authorJoel Spadin <[email protected]>2023-04-22 23:16:36 -0500
committerPete Johanson <[email protected]>2023-04-24 16:07:04 -0700
commit32ae776c42215d7302ab47787cbfb47298ccb532 (patch)
tree683b220ca15ec1ab8a7cd130ee86f2512c2b3432 /app/package.json
parent9c4f1e02d14e2903d7ec377fc3042bb704cc7253 (diff)
downloadzmk-32ae776c42215d7302ab47787cbfb47298ccb532.tar.gz
zmk-32ae776c42215d7302ab47787cbfb47298ccb532.zip
refactor: Add more checks to pre-commit
Updated existing pre-commit hooks and added some new hooks: - Remove trailing whitespace - Ensure every non-empty file ends with a new line - Check YAML file validity - Prevent adding large files - Ensure any scripts with shebangs are executable Added a GitHub action to run pre-commit on every commit. Removed any existing actions which duplicate pre-commit. Ran pre-commit on the codebase.
Diffstat (limited to 'app/package.json')
-rw-r--r--app/package.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/package.json b/app/package.json
index e75d96956c..9ad2878823 100644
--- a/app/package.json
+++ b/app/package.json
@@ -18,6 +18,6 @@
},
"homepage": "https://zmk.dev/",
"devDependencies": {
- "prettier": "^2.4.0"
+ "prettier": "^2.7.1"
}
-} \ No newline at end of file
+}