divided into 2 luachecks

This commit is contained in:
theFox6 2018-08-13 16:44:24 +02:00
parent 10e08de950
commit 1b0d474c1c
3 changed files with 23 additions and 2 deletions

9
.luacheck_tidy Normal file
View File

@ -0,0 +1,9 @@
allow_defined_top = true
read_globals = {
"minetest",
"dump", "vector",
"VoxelManip", "VoxelArea",
table = { fields = { "copy" } },
"lightning",
}

View File

@ -6,4 +6,6 @@ read_globals = {
"VoxelManip", "VoxelArea",
table = { fields = { "copy" } },
"lightning",
}
}
ignore = {"211", "212", "213", "631"}

View File

@ -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