aboutsummaryrefslogtreecommitdiffstats
path: root/.luacheckrc
blob: 7efefde409b6fa08e4bd0569e0029960da3b6260 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
max_comment_line_length = false
codes = true

exclude_files = {
  "tests/treesitter",
}

ignore = {
  "212", -- Unused argument
  "631", -- Line is too long
  "122", -- Setting a readonly global
  "542", -- Empty if branch
}

read_globals = {
  "vim",
  "a",
  "assert",
}