Thread Tools Display Modes
08-02-17, 06:05 AM   #1
Resike
A Pyroguard Emberseer
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,290
Originally Posted by Kkthnx View Post
As far as I am aware I did. Stil new at it as I switched directly from Atom. I'll post some screenshots and see if you notice something that is off.

Okay, guess it works. Reset everything to default.

Now, how do we handle it if we do not wanna cache a global? In Atom with "mikk's FindGlobals script" linter we could just run -- GLOBALS: GLOBANAME and it would stop reporting it.
Currently you can't ignore globals. I'll look into that how can you do this, with lua-check with my script and SublimeLinter.
  Reply With Quote
08-02-17, 06:14 AM   #2
Kkthnx
A Cobalt Mageweaver
 
Kkthnx's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2011
Posts: 247
Originally Posted by Resike View Post
Currently you can't ignore globals. I'll look into that how can you do this, with lua-check with my script and SublimeLinter.
Thank you!
__________________
Success isn't what you've done compared to others. Success is what you've done compared to what you were made to do.
  Reply With Quote
08-02-17, 07:13 AM   #3
Resike
A Pyroguard Emberseer
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,290
Originally Posted by Kkthnx View Post
Thank you!
Add this line just like with the mik's script with no commas:

Lua Code:
  1. -- luacheck: globals math string

This will ignore math and string globals.
  Reply With Quote

WoWInterface » Developer Discussions » Dev Tools » WoWDevelopment Sublime Package


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off