Add luacheck
This commit is contained in:
parent
b8721f7bd6
commit
1d91873150
|
@ -0,0 +1,11 @@
|
|||
on: [push, pull_request]
|
||||
name: build
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- name: lint
|
||||
uses: Roang-zero1/factorio-mod-luacheck@master
|
||||
with:
|
||||
luacheckrc_url: ""
|
|
@ -0,0 +1,18 @@
|
|||
max_line_length = 100
|
||||
|
||||
read_globals = {
|
||||
"DIR_DELIM",
|
||||
"dump",
|
||||
"VoxelManip", "VoxelArea",
|
||||
"PseudoRandom", "ItemStack",
|
||||
"AreaStore",
|
||||
"default",
|
||||
"intllib",
|
||||
}
|
||||
|
||||
globals = {
|
||||
"minetest",
|
||||
"exchange_shop",
|
||||
}
|
||||
|
||||
ignore = {"212/self"}
|
Loading…
Reference in New Issue