Skip to content

Commit

Permalink
Merge branch 'inferno8:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
cooljeanius authored Jun 7, 2024
2 parents c2bb7b1 + da9f6ca commit 73f4f4a
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/luacheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: Luacheck
on: [push, pull_request]
jobs:
sile:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Luacheck linter
uses: nebularg/actions-luacheck@v1
13 changes: 13 additions & 0 deletions .luacheckrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
max_line_length=140
-- show the warning/error codes as well
codes=true
-- skip showing files with no issues
quiet=1
-- skip showing undefined variable usage
-- there are thousands of warnings here because luacheck is unaware of Wesnoth's
-- lua environment and has no way to check which have been loaded
global=false
-- skip showing unused variables
unused=false
-- skip showing warnings about shadowing upvalues
ignore={"431"}

0 comments on commit 73f4f4a

Please sign in to comment.