Skip to content

Commit 7c3a39b

Browse files
committed
Add config file for Luacheck to lint Lua code
1 parent 9a778e0 commit 7c3a39b

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.luacheckrc

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
std = "lua54"
2+
3+
max_line_length = false
4+
5+
files["**/test/lua/**"] = {
6+
std = "+pandoc_filter"
7+
}
8+
9+
files["**/test/*.lua"] = {
10+
std = "+pandoc_custom"
11+
}
12+
13+
files["data/**"] = {
14+
std = "+pandoc_custom"
15+
}
16+
17+
files["tools/**"] = {
18+
std = "+pandoc_custom"
19+
}
20+
21+
files["man/**"] = {
22+
std = "+pandoc_script"
23+
}
24+
25+
exclude_files = {
26+
".stack-work"
27+
}

0 commit comments

Comments
 (0)