Skip to content

Commit aee4f45

Browse files
committed
0.11.0 release
1 parent 6c1a296 commit aee4f45

20 files changed

+93
-39
lines changed

README.md

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

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

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

@@ -46,25 +46,25 @@ After Luacheck is installed, run `luacheck` program from the command line. Pass
4646
```
4747
$ luacheck src extra_file.lua another_file.lua
4848
Checking src/good_code.lua OK
49-
Checking src/bad_code.lua Failure
49+
Checking src/bad_code.lua 3 warnings
5050
5151
src/bad_code.lua:3:23: unused variable length argument
5252
src/bad_code.lua:7:10: setting non-standard global variable embrace
5353
src/bad_code.lua:8:10: variable opt was previously defined as an argument on line 7
5454
55-
Checking src/python_code.lua Syntax error
55+
Checking src/python_code.lua 1 error
5656
5757
src/python_code.lua:1:6: expected '=' near '__future__'
5858
59-
Checking extra_file.lua Failure
59+
Checking extra_file.lua 5 warnings
6060
6161
extra_file.lua:3:18: unused argument baz
6262
extra_file.lua:4:8: unused loop variable i
6363
extra_file.lua:13:7: accessing uninitialized variable a
6464
extra_file.lua:14:1: value assigned to variable x is unused
6565
extra_file.lua:21:7: variable z is never accessed
6666
67-
Checking another_file.lua Failure
67+
Checking another_file.lua 2 warnings
6868
6969
another_file.lua:2:7: unused variable height
7070
another_file.lua:3:7: accessing undefined variable heigth
@@ -86,6 +86,8 @@ There are a few plugins which allow using Luacheck directly inside an editor, sh
8686
* For Emacs, [Flycheck](http://www.flycheck.org/) contains [luacheck checker](http://www.flycheck.org/manual/latest/Supported-languages.html#Lua);
8787
* For Brackets, there is [linter.luacheck](https://github.com/Malcolm3141/brackets-luacheck) extension.
8888

89+
If you are a plugin developer, see [recommended way of using Luacheck in a plugin](http://luacheck.readthedocs.org/en/0.11.0/cli.html#stable-interface-for-editor-plugins-and-tools).
90+
8991
### Other projects
9092

9193
* [Luacheck bindings for Node.js](https://www.npmjs.com/package/luacheck);
@@ -97,13 +99,13 @@ Documentation is available [online](http://luacheck.readthedocs.org). If Luachec
9799

98100
## Development
99101

100-
Luacheck is currently in development. The latest released version is 0.10.0. The interface of the `luacheck` module may change between minor releases. The command line interface is fairly stable.
102+
Luacheck is currently in development. The latest released version is 0.11.0. The interface of the `luacheck` module may change between minor releases. The command line interface is fairly stable.
101103

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

104106
## Building and testing
105107

106-
After the Luacheck repo is cloned and changes are made, run `luarocks make` (optionally prepended with `sudo`) from its root directory to install dev version of Luacheck. To test Luacheck, ensure that you have [busted](http://olivinelabs.com/busted) installed and run `busted spec`.
108+
After the Luacheck repo is cloned and changes are made, run `luarocks make` (optionally prepended with `sudo`) from its root directory to install dev version of Luacheck. To test Luacheck, ensure that you have [busted](http://olivinelabs.com/busted) installed and run `busted`.
107109

108110
## License
109111

doc/.buildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: d43b93e13331a625eafd96b5503e6e76
3+
config: 0970191b41e0852f9f37190748e7c7c4
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

doc/.doctrees/environment.pickle

-563 Bytes
Binary file not shown.

doc/.doctrees/index.doctree

-23 Bytes
Binary file not shown.

doc/.doctrees/module.doctree

-5 Bytes
Binary file not shown.

doc/_sources/index.txt

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 master branch version of `Luacheck <https://github.com/mpeterv/luacheck/>`_, a linter for `Lua <http://www.lua.org/>`_.
14+
This is documentation for 0.11.0 version of `Luacheck <https://github.com/mpeterv/luacheck/>`_, a linter for `Lua <http://www.lua.org/>`_.

doc/cli.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<meta charset="utf-8">
88
<meta name="viewport" content="width=device-width, initial-scale=1.0">
99

10-
<title>Command line interface &mdash; luacheck latest documentation</title>
10+
<title>Command line interface &mdash; luacheck 0.11.0 documentation</title>
1111

1212

1313

@@ -28,7 +28,7 @@
2828

2929

3030

31-
<link rel="top" title="luacheck latest documentation" href="index.html"/>
31+
<link rel="top" title="luacheck 0.11.0 documentation" href="index.html"/>
3232
<link rel="next" title="Configuration file" href="config.html"/>
3333
<link rel="prev" title="List of warnings" href="warnings.html"/>
3434

@@ -408,7 +408,7 @@ <h2>Stable interface for editor plugins and tools<a class="headerlink" href="#st
408408
<script type="text/javascript">
409409
var DOCUMENTATION_OPTIONS = {
410410
URL_ROOT:'./',
411-
VERSION:'latest',
411+
VERSION:'0.11.0',
412412
COLLAPSE_INDEX:false,
413413
FILE_SUFFIX:'.html',
414414
HAS_SOURCE: true

doc/config.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<meta charset="utf-8">
88
<meta name="viewport" content="width=device-width, initial-scale=1.0">
99

10-
<title>Configuration file &mdash; luacheck latest documentation</title>
10+
<title>Configuration file &mdash; luacheck 0.11.0 documentation</title>
1111

1212

1313

@@ -28,7 +28,7 @@
2828

2929

3030

31-
<link rel="top" title="luacheck latest documentation" href="index.html"/>
31+
<link rel="top" title="luacheck 0.11.0 documentation" href="index.html"/>
3232
<link rel="next" title="Inline options" href="inline.html"/>
3333
<link rel="prev" title="Command line interface" href="cli.html"/>
3434

@@ -360,7 +360,7 @@ <h2>Per-file and per-path overrides<a class="headerlink" href="#per-file-and-per
360360
<script type="text/javascript">
361361
var DOCUMENTATION_OPTIONS = {
362362
URL_ROOT:'./',
363-
VERSION:'latest',
363+
VERSION:'0.11.0',
364364
COLLAPSE_INDEX:false,
365365
FILE_SUFFIX:'.html',
366366
HAS_SOURCE: true

doc/genindex.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<meta charset="utf-8">
99
<meta name="viewport" content="width=device-width, initial-scale=1.0">
1010

11-
<title>Index &mdash; luacheck latest documentation</title>
11+
<title>Index &mdash; luacheck 0.11.0 documentation</title>
1212

1313

1414

@@ -29,7 +29,7 @@
2929

3030

3131

32-
<link rel="top" title="luacheck latest documentation" href="index.html"/>
32+
<link rel="top" title="luacheck 0.11.0 documentation" href="index.html"/>
3333

3434

3535
<script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js"></script>
@@ -152,7 +152,7 @@ <h1 id="index">Index</h1>
152152
<script type="text/javascript">
153153
var DOCUMENTATION_OPTIONS = {
154154
URL_ROOT:'./',
155-
VERSION:'latest',
155+
VERSION:'0.11.0',
156156
COLLAPSE_INDEX:false,
157157
FILE_SUFFIX:'.html',
158158
HAS_SOURCE: true

doc/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<meta charset="utf-8">
88
<meta name="viewport" content="width=device-width, initial-scale=1.0">
99

10-
<title>Luacheck documentation &mdash; luacheck latest documentation</title>
10+
<title>Luacheck documentation &mdash; luacheck 0.11.0 documentation</title>
1111

1212

1313

@@ -28,7 +28,7 @@
2828

2929

3030

31-
<link rel="top" title="luacheck latest documentation" href="#"/>
31+
<link rel="top" title="luacheck 0.11.0 documentation" href="#"/>
3232
<link rel="next" title="List of warnings" href="warnings.html"/>
3333

3434

@@ -161,7 +161,7 @@ <h1>Luacheck documentation<a class="headerlink" href="#luacheck-documentation" t
161161
</li>
162162
</ul>
163163
</div>
164-
<p>This is documentation for master branch version of <a class="reference external" href="https://github.com/mpeterv/luacheck/">Luacheck</a>, a linter for <a class="reference external" href="http://www.lua.org/">Lua</a>.</p>
164+
<p>This is documentation for 0.11.0 version of <a class="reference external" href="https://github.com/mpeterv/luacheck/">Luacheck</a>, a linter for <a class="reference external" href="http://www.lua.org/">Lua</a>.</p>
165165
</div>
166166

167167

@@ -200,7 +200,7 @@ <h1>Luacheck documentation<a class="headerlink" href="#luacheck-documentation" t
200200
<script type="text/javascript">
201201
var DOCUMENTATION_OPTIONS = {
202202
URL_ROOT:'./',
203-
VERSION:'latest',
203+
VERSION:'0.11.0',
204204
COLLAPSE_INDEX:false,
205205
FILE_SUFFIX:'.html',
206206
HAS_SOURCE: true

0 commit comments

Comments
 (0)