Skip to content

Commit 76bb567

Browse files
committed
0.23.0 release
1 parent 73f612f commit 76bb567

File tree

7 files changed

+10
-12
lines changed

7 files changed

+10
-12
lines changed

CHANGELOG.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
## 0.23.0 (unreleased)
3+
## 0.23.0 (2018-09-18)
44

55
### Breaking changes
66

@@ -16,7 +16,7 @@
1616

1717
* Warning columns are now reported in Unicode codepoints if input is
1818
valid UTF-8 (#45).
19-
* Add indentaion-based guessing of a better location for missing `end`
19+
* Added indentaion-based guessing of a better location for missing `end`
2020
and `until` syntax errors.
2121
* Added `luacheckrc` set of allowed globals containing globals used in
2222
Luacheck config to set options.
@@ -37,8 +37,6 @@
3737

3838
* Default set of standard globals is now always `max`, allowing globals of all
3939
Lua versions. `_G` std is deprecated.
40-
* Warnings related to statements and expressions (e.g. unreachable code) now
41-
point to the entire statement or expression instead of just the first token.
4240

4341
### Fixes
4442

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ For parallel checking Luacheck additionally requires [LuaLanes](https://github.c
3939
### Windows binary download
4040

4141
For Windows there is single-file 64-bit binary distribution, bundling Lua 5.3.4, Luacheck, LuaFileSystem, and LuaLanes using [LuaStatic](https://github.com/ers35/luastatic):
42-
[download](https://github.com/mpeterv/luacheck/releases/download/0.22.1/luacheck.exe).
42+
[download](https://github.com/mpeterv/luacheck/releases/download/0.23.0/luacheck.exe).
4343

4444
## Basic usage
4545

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

108108
## Development
109109

110-
Luacheck is currently in development. The latest released version is 0.22.1. The interface of the `luacheck` module may change between minor releases. The command line interface is fairly stable.
110+
Luacheck is currently in development. The latest released version is 0.23.0. The interface of the `luacheck` module may change between minor releases. The command line interface is fairly stable.
111111

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

docsrc/cli.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ CLI options ``--globals``, ``--new-globals``, ``--read-globals``, ``--new-read-g
180180
Sets of standard globals
181181
------------------------
182182

183-
CLI option ``--stds`` allows combining built-in sets described above using ``+``. For example, ``--std max`` is equivalent to ``--std=lua51c+lua52c+lua53c+luajit``. Leading plus sign adds new sets to current one instead of replacing it. For instance, ``--std +love`` is suitable for checking files using `LÖVE <https://love2d.org>`_ (love2d) framework. Custom sets of globals can be defined by mutating global variable ``stds`` in config. See :ref:`custom_stds`
183+
CLI option ``--stds`` allows combining built-in sets described above using ``+``. For example, ``--std max`` is equivalent to ``--std=lua51c+lua52c+lua53c+luajit``. Leading plus sign adds new sets to current one instead of replacing it. For instance, ``--std +love`` is suitable for checking files using `LÖVE <https://love2d.org>`_ framework. Custom sets of globals can be defined by mutating global variable ``stds`` in config. See :ref:`custom_stds`
184184

185185
Formatters
186186
----------

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.22.1'
51+
version = '0.23.0'
5252
# The full version, including alpha/beta/rc tags.
53-
release = '0.22.1'
53+
release = '0.23.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.22.1 version of `Luacheck <https://github.com/mpeterv/luacheck/>`_, a linter for `Lua <https://www.lua.org/>`_.
14+
This is documentation for 0.23.0 version of `Luacheck <https://github.com/mpeterv/luacheck/>`_, a linter for `Lua <https://www.lua.org/>`_.

docsrc/warnings.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ Reversed numeric for loops
212212
^^^^^^^^^^^^^^^^^^^^^^^^^^
213213

214214
Iterating a table in reverse using a numeric for loop going from ``#t`` to ``1`` requires a negative loop step. Luacheck warns about loops
215-
going from ``#(some expression)`` to ``1`` or a lesser constant when the loop step is not negative:
215+
going from ``#(some expression)`` to ``1`` or a smaller constant when the loop step is not negative:
216216

217217
.. code-block:: lua
218218
:linenos:

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.22.1"
8+
_VERSION = "0.23.0"
99
}
1010

1111
local function raw_validate_options(fname, opts, stds, context)

0 commit comments

Comments
 (0)