Skip to content

Commit 49c3ec2

Browse files
committed
0.16.0 release
1 parent a271960 commit 49c3ec2

File tree

5 files changed

+12
-9
lines changed

5 files changed

+12
-9
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ If it is not possible to install [LuaFileSystem](http://keplerproject.github.io/
3636

3737
For manual installation, only a Lua interpreter binary is required.
3838

39-
1. Download and unpack latest Luacheck release ([.zip](https://github.com/mpeterv/luacheck/archive/0.15.1.zip) [.tar.gz](https://github.com/mpeterv/luacheck/archive/0.15.1.tar.gz)).
39+
1. Download and unpack latest Luacheck release ([.zip](https://github.com/mpeterv/luacheck/archive/0.16.0.zip) [.tar.gz](https://github.com/mpeterv/luacheck/archive/0.16.0.tar.gz)).
4040
2. Run `install.lua <path>` script using the Lua interpreter. If Lua interpreter is not in `PATH`, invoke it using absolute path.
4141
3. Add `<path>/bin` to PATH or run Luacheck as `<path>/bin/luacheck`.
4242

@@ -105,7 +105,7 @@ Documentation can be built using [Sphinx](http://sphinx-doc.org/): `sphinx-build
105105

106106
## Development
107107

108-
Luacheck is currently in development. The latest released version is 0.15.1. The interface of the `luacheck` module may change between minor releases. The command line interface is fairly stable.
108+
Luacheck is currently in development. The latest released version is 0.16.0. The interface of the `luacheck` module may change between minor releases. The command line interface is fairly stable.
109109

110110
Use the Luacheck issue tracker on GitHub to submit bugs, suggestions and questions. Any pull requests are welcome, too.
111111

docsrc/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@
4848
# built documents.
4949
#
5050
# The short X.Y version.
51-
version = '0.15.1'
51+
version = '0.16.0'
5252
# The full version, including alpha/beta/rc tags.
53-
release = '0.15.1'
53+
release = '0.16.0'
5454

5555
# The language for content autogenerated by Sphinx. Refer to documentation
5656
# for a list of supported languages.

docsrc/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ Contents:
1111
inline
1212
module
1313

14-
This is documentation for 0.15.1 version of `Luacheck <https://github.com/mpeterv/luacheck/>`_, a linter for `Lua <http://www.lua.org/>`_.
14+
This is documentation for 0.16.0 version of `Luacheck <https://github.com/mpeterv/luacheck/>`_, a linter for `Lua <http://www.lua.org/>`_.

docsrc/warnings.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ List of warnings
33

44
Warnings produced by Luacheck are categorized using three-digit warning codes. Warning codes can be displayed in CLI output using ``--codes`` CLI option or ``codes`` config option. Errors also have codes starting with zero.
55

6-
==== ==============================================
6+
==== =================================================================
77
Code Description
8-
==== ==============================================
8+
==== =================================================================
99
011 A syntax error.
1010
021 An invalid inline option.
1111
022 An unpaired inline push directive.
@@ -23,11 +23,14 @@ Code Description
2323
231 Local variable is set but never accessed.
2424
232 An argument is set but never accessed.
2525
233 Loop variable is set but never accessed.
26+
241 Local variable is mutated but never accessed.
2627
311 Value assigned to a local variable is unused.
2728
312 Value of an argument is unused.
2829
313 Value of a loop variable is unused.
2930
314 Value of a field in a table literal is unused.
3031
321 Accessing uninitialized local variable.
32+
331 Value assigned to a local variable is mutated but never accessed.
33+
341 Mutating uninitialized local variable.
3134
411 Redefining a local variable.
3235
412 Redefining an argument.
3336
413 Redefining a loop variable.
@@ -45,7 +48,7 @@ Code Description
4548
541 An empty ``do`` ``end`` block.
4649
542 An empty ``if`` branch.
4750
551 An empty statement.
48-
==== ==============================================
51+
==== =================================================================
4952

5053
Global variables
5154
----------------

src/luacheck/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ local format = require "luacheck.format"
55
local utils = require "luacheck.utils"
66

77
local luacheck = {
8-
_VERSION = "0.15.1"
8+
_VERSION = "0.16.0"
99
}
1010

1111
local function raw_validate_options(fname, opts)

0 commit comments

Comments
 (0)