Skip to content

Commit

Permalink
Merge pull request #4 from Omikhleia/fix-lua51-compat
Browse files Browse the repository at this point in the history
Lua 5.1 minimum compatibility
  • Loading branch information
Omikhleia authored Dec 8, 2023
2 parents f3b956a + ca246bc commit 6eff174
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 16 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/luacheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Luacheck
uses: lunarmodules/luacheck@v0
uses: lunarmodules/luacheck@v1
15 changes: 1 addition & 14 deletions .luacheckrc
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
std = "max"
std = "min+sile"
include_files = {
"**/*.lua",
"sile.in",
"*.rockspec",
".busted",
".luacheckrc"
}
exclude_files = {
"benchmark-*",
"compare-*",
"sile-*",
"lua_modules",
"lua-libraries",
".lua",
Expand All @@ -19,15 +15,6 @@ exclude_files = {
files["**/*_spec.lua"] = {
std = "+busted"
}
globals = {
"SILE",
"SU",
"luautf8",
"pl",
"fluent",
"SYSTEM_SILE_PATH",
"SHARED_LIB_EXT"
}
max_line_length = false
ignore = {
"581" -- operator order warning doesn't account for custom table metamethods
Expand Down

0 comments on commit 6eff174

Please sign in to comment.