aboutsummaryrefslogtreecommitdiffstats
path: root/.luacheckrc
blob: ac6af14862f372917fec1c40a8197d0ef1a76cb8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
-- vim: ft=lua tw=80

-- Rerun tests only if their modification time changed.
cache = true

ignore = {
  "122", -- Setting a read-only field of a global variable.
  "212", -- Unused argument, In the case of callback function, _arg_name is easier to understand than _, so this option is set to off.
  "631", -- max_line_length, vscode pkg URL is too long
}

-- Global objects defined by the C code
read_globals = {
  "vim",
}