Skip to content

Releases: lunarmodules/luacheck

v1.1.2

08 Dec 12:51
418f489
Compare
Choose a tag to compare

Features

Bug Fixes

  • Update SILE builtin with more allowed variables — @alerque

v1.1.1

10 Jun 08:30
ababb6d
Compare
Choose a tag to compare

Features

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

19 Dec 18:00
fcbdeac
Compare
Choose a tag to compare

Features

Bug Fixes

v1.0.0

24 Aug 11:15
4d29799
Compare
Choose a tag to compare

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

23 Apr 14:27
2445a9d
Compare
Choose a tag to compare

Bug Fixes

  • Exempt special builtin _ENV from 214 warning

Features

  • In case of no home environment, default to caching in CWD (#60)
  • Add multi-thread support to container (#59)

Miscellaneous Tasks

  • Tweak warning message for 214 to be more explicit

v0.26.0

24 Mar 10:12
5784e3f
Compare
Choose a tag to compare

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 single uses: 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

10 Aug 17:04
Compare
Choose a tag to compare

New features

  • New values for CLI option --std: lua54, lua54c
  • New lua54 standard library definitions

Fixes

  • Lua 5.4 allows 31bits utf8 codepoint

0.24.0

20 Aug 22:24
Compare
Choose a tag to compare

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
  • Fixed randomize missing from busted set of standard globals (mpeterv#183).
  • Added additional table and thread definitions for ngx_lua.
  • Added additional match definition for busted.

Miscellaneous

  • Upgraded Windows binary components: Lua 5.3.4 -> 5.3.5,
    LuaFileSystem 1.6.3 -> 1.7.0.