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 luacheck
You 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 .luacheckrc
The configuration file is then available to luacheck
:
luacheck filter.lua
Alternatively, 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).