Update linter.py
Merge pull request #1 from henriquegemignani/patch-1

Fix passing a globals list to luacheck