Skip to content

Commit

Permalink
Update docs to state that Luacheck supports Lua 5.4 (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
arichard4 committed Nov 26, 2021
1 parent 581ea14 commit e00317a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

Luacheck is a static analyzer and a linter for [Lua](http://www.lua.org). Luacheck detects various issues such as usage of undefined global variables, unused variables and values, accessing uninitialized variables, unreachable code and more. Most aspects of checking are configurable: there are options for defining custom project-related globals, for selecting set of standard globals (version of Lua standard library), for filtering warnings by type and name of related variable, etc. The options can be used on the command line, put into a config or directly into checked files as Lua comments.

Luacheck supports checking Lua files using syntax of Lua 5.1, Lua 5.2, Lua 5.3 and LuaJIT. Luacheck itself is written in Lua and runs on all of mentioned Lua versions.
Luacheck supports checking Lua files using syntax of Lua 5.1 - 5.4, and LuaJIT. Luacheck itself is written in Lua and runs on all of mentioned Lua versions.

## Installation

Expand Down
4 changes: 2 additions & 2 deletions docsrc/cli.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ Option Meaning
``--no-self`` Filter out warnings related to implicit ``self`` argument.
``--std <std>`` Set standard globals, default is ``max``. ``<std>`` can be one of:

* ``max`` - union of globals of Lua 5.1, Lua 5.2, Lua 5.3 and LuaJIT 2.x;
* ``min`` - intersection of globals of Lua 5.1, Lua 5.2, Lua 5.3 and LuaJIT 2.x;
* ``max`` - union of globals of Lua 5.1 - 5.4 and LuaJIT 2.x;
* ``min`` - intersection of globals of Lua 5.1 - 5.4 and LuaJIT 2.x;
* ``lua51`` - globals of Lua 5.1 without deprecated ones;
* ``lua51c`` - globals of Lua 5.1;
* ``lua52`` - globals of Lua 5.2;
Expand Down

0 comments on commit e00317a

Please sign in to comment.