Permalink
Browse files

add lint

  • Loading branch information...
1 parent b8453bb commit 4a4d00ae44a133f6f0b5113b92233a1a6730ea96 @leafo committed Feb 11, 2016
Showing with 10 additions and 1 deletion.
  1. +4 −1 Makefile
  2. +6 −0 lint_config.lua
View
@@ -1,5 +1,5 @@
-.PHONY: test local show_types
+.PHONY: test local show_types lint
test:
busted
@@ -10,3 +10,6 @@ local:
show_types:
psql -U postgres -c "select oid, typname, typcategory, typelem from pg_type where typcategory in ('A', 'B', 'N', 'D', 'S');"
+
+lint:
+ moonc -l pgmoon
View
@@ -0,0 +1,6 @@
+
+return {
+ whitelist_globals = {
+ ["."] = {"ngx"}
+ }
+}

0 comments on commit 4a4d00a

Please sign in to comment.