diff --git a/src/.luacheckrc b/src/.luacheckrc new file mode 100644 index 00000000..e314928d --- /dev/null +++ b/src/.luacheckrc @@ -0,0 +1,2 @@ +codes = true +std = 'luajit' diff --git a/src/Makefile b/src/Makefile index fb5fdcb7..d0166338 100644 --- a/src/Makefile +++ b/src/Makefile @@ -621,6 +621,9 @@ depend: test -s $$file || $(HOST_RM) $$file; \ done +luacheck: + luacheck host/*.lua jit/*.lua + .PHONY: default all amalg clean libbc depend ##############################################################################