Skip to content

Commit

Permalink
chore: Use upstream Luacheck support for SILE variables
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Nov 8, 2023
1 parent 37d0a79 commit ad23f5e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 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
9 changes: 1 addition & 8 deletions .luacheckrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
std = "max"
std = "min+sile"
include_files = {
"**/*.lua",
"*.rockspec",
Expand All @@ -13,13 +13,6 @@ exclude_files = {
files["**/*_spec.lua"] = {
std = "+busted"
}
globals = {
"SILE",
"SU",
"luautf8",
"pl",
"fluent"
}
max_line_length = false
ignore = {
"581" -- operator order warning doesn't account for custom table metamethods
Expand Down

0 comments on commit ad23f5e

Please sign in to comment.