Skip to content

Commit

Permalink
Use BuckarooBanzay's luacheck dev branch
Browse files Browse the repository at this point in the history
  • Loading branch information
S-S-X authored Feb 15, 2024
1 parent 04b0663 commit 6ef7e82
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/luacheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
uses: actions/checkout@main
- name: Luacheck
uses: lunarmodules/luacheck@master
uses: S-S-X/minecheck@master
12 changes: 2 additions & 10 deletions .luacheckrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
std = "minetest+max"
unused_args = false

-- Exclude regression tests / unit tests
Expand All @@ -6,19 +7,10 @@ exclude_files = {
}

globals = {
"technic", "technic_cnc", "minetest"
"technic", "technic_cnc"
}

read_globals = {
-- Lua
string = {fields = {"split", "trim"}},
table = {fields = {"copy", "getn"}},

-- Minetest
"PseudoRandom", "ItemStack",
"VoxelArea", "VoxelManip",
"Settings", "vector",

-- Mods
"default", "stairsplus",
"screwdriver", "bucket",
Expand Down

0 comments on commit 6ef7e82

Please sign in to comment.