tools/make-luacheck-files.sh will generate a .luacheckrc with the
following rules:
- any rules set in the project header (.luacheck.head)
- each mod is allowed to use a single global sharing its mod name
- mod dependency information is parsed, and those mods' globals are
permitted for read access