.luacheckrc 781 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. -- vim: ft=lua tw=80
  2. stds.nvim = {
  3. globals = {
  4. "lvim",
  5. "reload",
  6. vim = { fields = { "g" } },
  7. "TERMINAL",
  8. "USER",
  9. "C",
  10. "Config",
  11. "WORKSPACE_PATH",
  12. "JAVA_LS_EXECUTABLE",
  13. "MUtils",
  14. "USER_CONFIG_PATH",
  15. os = { fields = { "capture" } },
  16. },
  17. read_globals = {
  18. "jit",
  19. "os",
  20. "vim",
  21. "join_paths",
  22. "get_runtime_dir",
  23. "get_config_dir",
  24. "get_cache_dir",
  25. "get_lvim_base_dir",
  26. "require_clean",
  27. },
  28. }
  29. std = "lua51+nvim"
  30. files["tests/*_spec.lua"].std = "lua51+nvim+busted"
  31. -- Don't report unused self arguments of methods.
  32. self = false
  33. -- Rerun tests only if their modification time changed.
  34. cache = true
  35. ignore = {
  36. "631", -- max_line_length
  37. "212/_.*", -- unused argument, for vars with "_" prefix
  38. }