divided into 2 luachecks
This commit is contained in:
parent
10e08de950
commit
1b0d474c1c
|
@ -0,0 +1,9 @@
|
|||
allow_defined_top = true
|
||||
|
||||
read_globals = {
|
||||
"minetest",
|
||||
"dump", "vector",
|
||||
"VoxelManip", "VoxelArea",
|
||||
table = { fields = { "copy" } },
|
||||
"lightning",
|
||||
}
|
|
@ -7,3 +7,5 @@ read_globals = {
|
|||
table = { fields = { "copy" } },
|
||||
"lightning",
|
||||
}
|
||||
|
||||
ignore = {"211", "212", "213", "631"}
|
12
.travis.yml
12
.travis.yml
|
@ -6,8 +6,18 @@ addons:
|
|||
- luarocks
|
||||
before_install:
|
||||
- luarocks install --local luacheck
|
||||
env:
|
||||
- CONFIG=.luacheckrc
|
||||
- CONFIG=.luacheck_tidy
|
||||
matrix:
|
||||
exclude:
|
||||
- name: "health check"
|
||||
env: CONFIG=.luacheckrc
|
||||
allow_failures:
|
||||
- name: "beauty check"
|
||||
env: CONFIG=.luacheck_tidy
|
||||
script:
|
||||
- $HOME/.luarocks/bin/luacheck --no-color .
|
||||
- $HOME/.luarocks/bin/luacheck --config $CONFIG .
|
||||
notifications:
|
||||
email:
|
||||
on_failure: change
|
Loading…
Reference in New Issue