Skip to content

Commit 2f0146b

Browse files
committed
0.15.0 release
1 parent 042e118 commit 2f0146b

6 files changed

Lines changed: 13 additions & 11 deletions

File tree

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.14.0.zip) [.tar.gz](https://github.com/mpeterv/luacheck/archive/0.14.0.tar.gz)).
39+
1. Download and unpack latest Luacheck release ([.zip](https://github.com/mpeterv/luacheck/archive/0.15.0.zip) [.tar.gz](https://github.com/mpeterv/luacheck/archive/0.15.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

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

103103
## Development
104104

105-
Luacheck is currently in development. The latest released version is 0.14.0. The interface of the `luacheck` module may change between minor releases. The command line interface is fairly stable.
105+
Luacheck is currently in development. The latest released version is 0.15.0. The interface of the `luacheck` module may change between minor releases. The command line interface is fairly stable.
106106

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

docsrc/cli.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ Options taking several arguments can be used several times; ``--ignore foo --ign
5151

5252
Note that options that may take several arguments, such as ``--globals``, should not be used immediately before positional arguments; given ``--globals foo bar file.lua``, ``luacheck`` will consider all ``foo``, ``bar`` and ``file.lua`` global and then panic as there are no file names left.
5353

54-
======================================= ============================================================================
54+
======================================= ================================================================================
5555
Option Meaning
56-
======================================= ============================================================================
56+
======================================= ================================================================================
5757
``-g | --no-global`` Filter out warnings related to global variables.
5858
``-u | --no-unused`` Filter out warnings related to unused variables and values.
5959
``-r | --no-redefined`` Filter out warnings related to redefined variables.
@@ -72,8 +72,9 @@ Option Meaning
7272
* ``lua53c`` - globals of Lua 5.3 compiled with LUA_COMPAT_5_2;
7373
* ``luajit`` - globals of LuaJIT 2.0;
7474
* ``ngx_lua`` - globals of Openresty `lua-nginx-module <https://github.com/openresty/lua-nginx-module>`_ with LuaJIT 2.0;
75-
* ``min`` - intersection of globals of Lua 5.1, Lua 5.2 and LuaJIT 2.0;
76-
* ``max`` - union of globals of Lua 5.1, Lua 5.2 and LuaJIT 2.0;
75+
* ``rockspec`` - globals allowed in rockspecs;
76+
* ``min`` - intersection of globals of Lua 5.1, Lua 5.2, Lua 5.3 and LuaJIT 2.0;
77+
* ``max`` - union of globals of Lua 5.1, Lua 5.2, Lua 5.3 and LuaJIT 2.0;
7778
* ``busted`` - globals added by Busted 2.0;
7879
* ``none`` - no standard globals.
7980

@@ -121,7 +122,7 @@ Option Meaning
121122
``--no-color`` Do not colorize output.
122123
``-v | --version`` Show version of Luacheck and its dependencies and exit.
123124
``-h | --help`` Show help and exit.
124-
======================================= ============================================================================
125+
======================================= ================================================================================
125126

126127
.. _patterns:
127128

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

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

1111
local function raw_validate_options(fname, opts)

src/luacheck/main.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ together with used ones.]]):target("unused_secondaries"):action("store_false")
6666
luajit - globals of LuaJIT 2.0;
6767
ngx_lua - globals of Openresty lua-nginx-module
6868
with LuaJIT 2.0;
69+
rockspec - globals allowed in rockspecs;
6970
min - intersection of globals of Lua 5.1, Lua 5.2,
7071
Lua 5.3 and LuaJIT 2.0;
7172
max - union of globals of Lua 5.1, Lua 5.2, Lua 5.3

0 commit comments

Comments
 (0)