Releases: FPtje/GLuaFixer
glualint 1.6.2
Fixed trailing whitespace not being affected by the lint_whitespaceStyle
option.
glualint 1.6.1
Ahoy! new release!
Changes:
- You can now lint folders, e.g.
glualint C:\
. - Relative file paths are now shown in linter output. This will help distinguish all those files called
init.lua
. - Fixed some issues with pretty printing and comments
glualint 1.5.1
In this version I recoded the part of the linter that checked for bad sequences of tokens. The reason for this is optimisation. You shouldn't notice much of the difference, except that glualint should be a quite a bit faster now.
So yeah, if you thought 1.5.0 (or earlier) was slow, you should try this version.
glualint 1.5.0
Quite a few changes in this one:
- Recoded lexer, should be faster now and have clearer error messages
- Fixed decimals in hexadecimal numbers (e.g.
0x01.5
) throwing a syntax error - Removed warning on
:Refresh()
, the function name is too generic and may very well not mean the gmod function - Fixed pretty printing adding two spaces after each comma in simple tables
- Added support for comments that are on the same line
Please test it, especially with the recoded lexer there might be a few bugs.
glualint 1.4.5
Quite some fixes:
- Fixed erroneous "unused variable" warnings related to local functions
- Fixed wrong positions on lex lint warnings
- The pretty printer now supports comments right after statements and return values (on the same line)
- Fixed the pretty printer putting two spaces in certain places of the numeric for loop
glualint 1.4.4
Fixed lex errors not showing.
glualint 1.4.3
Fixed problems with variables named goto
. It now gives a warning about how that will cause syntax errors in the future.
glualint 1.4.2
- Some optimisations
- Fixes
self.Entity
andself.Weapon
giving warnings when not in ENT and SWEP metafunctions respectively. - Trailing whitespace now reports at the exact right location
glualint 1.4.1
This was supposed to be in 1.4.0:
You can now decide whether a space is to be put before and/or after every comma. @TGiFallen wanted that.
glualint 1.4.0
New in this version:
- Made indentation in the pretty printer customisable in the
glualint.json
file - Improved pretty printing of comments inside tables that span multiple lines
This release also adds a default glualint.json
download for your convenience. Place somewhere in your project or in your home folder for it to work.