.luacheckrc 776 B

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