forked from inferno8/wesnoth-To_Lands_Unknown
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'inferno8:master' into master
- Loading branch information
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"} |