Releases: mpeterv/luacheck
Releases · mpeterv/luacheck
0.17.1
0.17.0
0.16.3
0.16.2
0.16.1
0.16.0
New features and improvements:
- Local tables which are mutated but not used are now detected (#61).
- Mutations of global variables with key chains of length > 1
are now correctly reported as mutations, not accesses. - Completely unused variables named
_
are now reported (#66).
Fixes:
luacheck: ignore
now correctly filters out 5xx and 314 warnings (#71).
0.15.1
0.15.0
0.14.0
New features/improvements:
- Duplicated keys in table literals are detected (#48).
- Unused recursive and mutually recursive functions assigned to local variables are detected (#50).
- Globs can be used to select paths when applying option overrides in config (#52).
- Inline options can contain notes in parentheses.
--jobs
option (multithreading) is used by default with LuaLanes found, number of threads used is set to number of available processing units.- Better error messages are provided on I/O and other errors when reading files, loading configs and rockspecs, etc.
- Better path handling when recursively checking directories ending with slash.
0.13.0
New features/improvements:
- Empty statements (semicolons without preceding statements) are reported (#44).
- Inline option
luacheck: push
can be followed by other options on the same line, e.g.luacheck: push ignore
. - Better syntax error messages.
- When recursively checking directories and
--include-files
is used, files are not filtered by.lua
extension (#43).
Fixes:
- Fixed crash when source ends with
.
,"\
or"\u{
.