.luacheckrc 850 B

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