.luacheckrc 767 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. "require_clean",
  26. },
  27. }
  28. std = "lua51+nvim"
  29. files["tests/*_spec.lua"].std = "lua51+nvim+busted"
  30. -- Don't report unused self arguments of methods.
  31. self = false
  32. -- Rerun tests only if their modification time changed.
  33. cache = true
  34. ignore = {
  35. "631", -- max_line_length
  36. "212/_.*", -- unused argument, for vars with "_" prefix
  37. }