Skip to content

Commit

Permalink
Update .luacheckrc
Browse files Browse the repository at this point in the history
  • Loading branch information
knyghtmare committed Jun 27, 2024
1 parent ff3062c commit fd5e7d8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .luacheckrc
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
max_line_length=280
max_line_length=555
max_code_line_length=19484
-- 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
globals={"wesnoth","wml","gui","filesystem","unit_test","stringx","mathx","ai"}
allow_defined=false
allow_defined_top=true
-- skip showing unused variables
unused=false
-- skip showing warnings about shadowing upvalues and empty if branches
Expand Down

0 comments on commit fd5e7d8

Please sign in to comment.