A configuration file for luacheck to perform linting and static analysis of pandoc Lua filters.
The .luacheckrc configuration file can be added to your pandoc filter git repository by adding this project as a git submodule:
git submodule add https://github.com/rnwst/pandoc-luacheckrc luacheckYou can then add a symlink to the .luacheckrc file in the location where you want it, e.g. in the top-level repository directory:
ln -s luacheck/.luacheckrc .luacheckrcThe configuration file is then available to luacheck:
luacheck filter.luaAlternatively, instead of adding this repository as a submodule, you can place the configuration file in another directory where luacheck expects to find it (using a symlink as above).