6 changed files with 48 additions and 7 deletions
@ -0,0 +1,17 @@
|
||||
name: luacheck |
||||
|
||||
on: [push, pull_request] |
||||
|
||||
jobs: |
||||
build: |
||||
|
||||
runs-on: ubuntu-latest |
||||
|
||||
steps: |
||||
- uses: actions/checkout@v2 |
||||
- name: apt |
||||
run: sudo apt-get install -y luarocks |
||||
- name: luacheck install |
||||
run: luarocks install --local luacheck |
||||
- name: luacheck run |
||||
run: $HOME/.luarocks/bin/luacheck ./ |
@ -0,0 +1,22 @@
|
||||
unused_args = false |
||||
|
||||
read_globals = { |
||||
"DIR_DELIM", |
||||
"core", |
||||
"dump", |
||||
"vector", "nodeupdate", |
||||
"VoxelManip", "VoxelArea", |
||||
"PseudoRandom", "ItemStack", |
||||
"AreaStore", |
||||
"default", |
||||
"intllib", |
||||
"hud", |
||||
"mesecon", |
||||
table = { fields = { "copy", "getn", "indexof" } } |
||||
} |
||||
|
||||
globals = { |
||||
"minetest", |
||||
-- mod namespace |
||||
"areas" |
||||
} |
Loading…
Reference in new issue