Releases: mpeterv/luacheck
Releases · mpeterv/luacheck
0.17.1
22 Dec 10:28
Compare
Sorry, something went wrong.
No results found
Fixes:
Fixed error when using cache and there are warnings with
codes 314 or 521.
Globals in rockspec std and ngx global in ngx_lua std are
no longer read-only (#87 ).
Reverted changes to exit codes that conflicted with assumptions
made by luacheck checker in Syntastic (#85 ).
0.17.0
18 Nov 17:23
Compare
Sorry, something went wrong.
No results found
New features and improvements:
Trailing whitespace and inconsistent indentation (tabs after spaces)
are now detected (#79 ).
0.16.3
27 Oct 18:05
Compare
Sorry, something went wrong.
No results found
Fixed version number (#75 ).
0.16.2
25 Oct 21:29
Compare
Sorry, something went wrong.
No results found
Fix error in some cases when a function declaration is unreachable (#74 ).
0.16.1
28 Sep 21:17
Compare
Sorry, something went wrong.
No results found
Fix false positive for variable/value is mutated but never accessed warning when initial value of a variable comes from X and Y, X or Y, or (X()) expression (#72 ).
0.16.0
28 Sep 09:53
Compare
Sorry, something went wrong.
No results found
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
09 Jun 14:58
Compare
Sorry, something went wrong.
No results found
Fixes:
Fixed JUnit formatter not escaping XML entities (#62 ).
0.15.0
17 Apr 21:41
Compare
Sorry, something went wrong.
No results found
New features:
New rockspec std set containing globals allowed in rockspecs (#55 ).
Bug fixes:
Fixed error when checking a file with a hexadecimal number using Lua 5.1 on Windows (#57 ).
Fixed luacheck using wrong path when checking a file in a subdirectory with single character name (#59 ).
0.14.0
25 Feb 17:01
Compare
Sorry, something went wrong.
No results found
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
04 Jan 17:07
Compare
Sorry, something went wrong.
No results found
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{.