Skip to content

Commit 2cc5a98

Browse files
Update .luacheckrc to ignore test data files and clarify their purpose
1 parent b24139f commit 2cc5a98

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/linters/.luacheckrc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1-
files["tests/data/Assignments.lua"].allow_defined_top = true
2-
files["tests/data/WoWSavedVariables.lua"].allow_defined_top = true
1+
-- Test data files are Lua data/config files (e.g. WoW SavedVariables format)
2+
-- that define top-level globals and are not executed as scripts.
3+
files["**/tests/data/Assignments.lua"].ignore = {""}
4+
files["**/tests/data/WoWSavedVariables.lua"].ignore = {""}

0 commit comments

Comments
 (0)