Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,9 @@ jobs:
- run: python3 -m pip install --upgrade pip
- run: python3 -m pip install pytest
- run: PYTHONPATH="." pytest tests/test_pre_commit_copyright.py

luacheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: lunarmodules/luacheck@v1
16 changes: 16 additions & 0 deletions .luacheckrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
std = "lua53" -- Lua 5.3 standard

max_line_length = 678

ignore = {
"111", -- setting non-standard global
"112", -- mutating an undefined global variable.
"113", -- accessing undefined variable
"212", -- Unused argument
"214", -- used variable with unused hint
"611", -- line consists only of whitespace
"612", -- trailing whitespace
"613", -- trailing whitespace in string
"614", -- trailing whitespace in comment
"621", -- inconsistent indentation
}
Loading