.luacheckrc 427 B

123456789101112131415161718192021
  1. -- vim: ft=lua tw=80
  2. -- Ignore W211 (unused variable) with preload files.
  3. files["**/preload.lua"] = {ignore = { "211" }}
  4. -- Don't report unused self arguments of methods.
  5. self = false
  6. -- Rerun tests only if their modification time changed.
  7. cache = true
  8. ignore = {
  9. "631", -- max_line_length
  10. "212/_.*", -- unused argument, for vars with "_" prefix
  11. }
  12. -- Global objects defined by the C code
  13. read_globals = {
  14. "vim",
  15. }