Releases: lunarmodules/luacheck
Releases · lunarmodules/luacheck
v1.2.0
v1.1.2
v1.1.1
Features
- Update Löve standard to 11.4 (#95) — @RunningDroid
- Documentation improvements (#92 and #89) — @rcloran and @hramrach
Bug Fixes
- Correct compound operators to not crash on modifying upvalues (#96) — @arichard4
- Fix warning 582 (error prone negation) not applying to subexpressions (#94) — @appgurueu
v1.1.0
Features
- Add builtin rule set for SILE globals (#79) — @alerque
- Implement support for compound operators (#66) — @a2 & @arichard4
Bug Fixes
- Correct circular reference detection visavis OpSet — @arichard4
- Remove unnecessary symbol from Playdate std (#84) — @DidierMalenfant
v1.0.0
Documentation
- [breaking] Follow semver guidelines, next release will be v1.x.y
Features
- Overhaul docker container to run on Lua 5.4
- Store cached luacheck values per-version in case of changes — @arichard4
- Set_default_std for ldoc
- Add builtin std option for Ldoc globals — @Aire-One
- Add builtin std option for the Playdate SDK — @DidierMalenfant
v0.26.1
v0.26.0
New Features
- Add "unused hint" flag — @javierguerragiraldez
Function arguments that start with a single underscore get an "unused hint".
Leaving them unused doesn't result in a warning.
Using them, on the other hand, is a new warning (№ 214). - Add hook to enable Luacheck for use in pre-commit — @mblayman
- Warn on error-prone and unnecessary negations — @arichard4
Two new warnings (№ 581 and 582) flag error-prone operator orders. - Add Dockerfile implementation — @MartinBroers
A 6.34MB containerized image with everything needed to run the linter.
Build your own or pull prebuilt images from GHRC. - Setup repository for use as a GitHub Action — @alerque
Lint your repositories using GitHub Action workflows with just a singleuses:
step.
Fixes
- Don't mark variables as accessed if only references are circular — @arichard4
- Make test suite Lua 5.4 compatible — @alerque
- Correct small issues in documentation — various
Miscellaneous
- Overhaul CI workflows for testing, linting, building, and releasing — @alerque
- Update URLs and documentation reflecting new repository home — @lunarmodules
0.25.0
0.24.0
Changes
- Caching now uses files in a global directory instead of local
.luacheckcache
file. Default cache directory is
%LOCALAPPDATA%\Luacheck\Cache
on Windows,
~/Library/Caches/Luacheck
on OS X/macOS, and
$XDG_CACHE_HOME/luacheck
or~/.config/luacheck
on other systems.
Fixes
- Fixes for using Luacheck with Lua 5.4:
- Parse 5.4 attributes in
local
declarations (but ignores them for now) - Luacheck itself can also run with Lua 5.4
- Parse 5.4 attributes in
- Fixed
randomize
missing frombusted
set of standard globals (mpeterv#183). - Added additional
table
andthread
definitions forngx_lua
. - Added additional
match
definition forbusted
.
Miscellaneous
- Upgraded Windows binary components: Lua 5.3.4 -> 5.3.5,
LuaFileSystem 1.6.3 -> 1.7.0.