mirror of
https://github.com/mt-mods/pipeworks.git
synced 2024-12-28 08:37:28 +01:00
Merge branch 'master' into 'master'
Add luacheck config and ci job See merge request VanessaE/pipeworks!37
This commit is contained in:
commit
9ad6e5d07a
8
.gitlab-ci.yml
Normal file
8
.gitlab-ci.yml
Normal file
@ -0,0 +1,8 @@
|
||||
stages:
|
||||
- test
|
||||
|
||||
luacheck:
|
||||
stage: test
|
||||
image: pipelinecomponents/luacheck:latest
|
||||
script:
|
||||
- luacheck .
|
24
.luacheckrc
Normal file
24
.luacheckrc
Normal file
@ -0,0 +1,24 @@
|
||||
unused_args = false
|
||||
max_line_length= 240
|
||||
redefined = false
|
||||
|
||||
globals = {
|
||||
"pipeworks",
|
||||
"luaentity"
|
||||
}
|
||||
|
||||
read_globals = {
|
||||
-- Stdlib
|
||||
string = {fields = {"split"}},
|
||||
table = {fields = {"copy", "getn"}},
|
||||
|
||||
-- Minetest
|
||||
"vector", "ItemStack",
|
||||
"dump", "minetest",
|
||||
"VoxelManip", "VoxelArea",
|
||||
|
||||
-- mods
|
||||
"default", "mesecon", "digiline",
|
||||
"screwdriver"
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user