summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2023-06-18 02:42:03 +0100
committerubq323 <ubq323@ubq323.website>2023-06-18 02:42:03 +0100
commitb3bd4735c36e45bd80dcf549b8397eac8d14bba2 (patch)
treee2eb1b7e030272b4d901a473eef1931e76e28049
parent88f53d3e3432a68793d2cb37dae6d37ea56cf0c7 (diff)
add check script to run luacheck on everything
-rwxr-xr-xcheck.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/check.sh b/check.sh
new file mode 100755
index 0000000..18a93f0
--- /dev/null
+++ b/check.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+luacheck . \
+ --std=love+luajit --no-unused --no-redefined --ignore 611 \
+ --exclude-files '**/dkjson.lua' --exclude-files '*/common/*'