Skip to content

Releases: FPtje/GLuaFixer

glualint 1.6.2

27 Nov 21:53
Compare
Choose a tag to compare

Fixed trailing whitespace not being affected by the lint_whitespaceStyle option.

glualint 1.6.1

21 Nov 21:21
Compare
Choose a tag to compare

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

06 Nov 19:37
Compare
Choose a tag to compare

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

30 Oct 21:58
Compare
Choose a tag to compare

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

02 Oct 18:01
Compare
Choose a tag to compare

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

25 Sep 16:46
Compare
Choose a tag to compare

Fixed lex errors not showing.

glualint 1.4.3

22 Sep 10:18
Compare
Choose a tag to compare

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

18 Sep 14:50
Compare
Choose a tag to compare
  • Some optimisations
  • Fixes self.Entity and self.Weapon giving warnings when not in ENT and SWEP metafunctions respectively.
  • Trailing whitespace now reports at the exact right location

glualint 1.4.1

11 Sep 20:43
Compare
Choose a tag to compare

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

11 Sep 19:28
Compare
Choose a tag to compare

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.