.luacheckrc 820 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. -- vim: ft=lua tw=80
  2. stds.nvim = {
  3. globals = {
  4. "lvim",
  5. vim = { fields = { "g" } },
  6. "TERMINAL",
  7. "USER",
  8. "C",
  9. "Config",
  10. "WORKSPACE_PATH",
  11. "JAVA_LS_EXECUTABLE",
  12. "MUtils",
  13. "USER_CONFIG_PATH",
  14. os = { fields = { "capture" } },
  15. },
  16. read_globals = {
  17. "jit",
  18. "os",
  19. "vim",
  20. "join_paths",
  21. "get_runtime_dir",
  22. "get_config_dir",
  23. "get_cache_dir",
  24. "get_lvim_base_dir",
  25. "get_version",
  26. -- vim = { fields = { "cmd", "api", "fn", "o" } },
  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. }