As of this writing, the library and ignore stanza's seemingly do not work. Here is a simple configuration file:
{
"runtime": {
"version": "Lua5.1"
},
"workspace": {
"enableReindex": true,
"library": [
"./libs"
]
}
}
And yet:
I expected behavior similar to luals where libraries are ignored entirely and just read for annotations. Similarly, if I try any combination of ignoreDir and ignoreGlobs, things may or may not lint even if I don't want them to.
The only combination that I can get to work is if I literally ignoreGlob **/*.lua, and even then, if i open a file directly, it will sometimes lint it anyway.
As of this writing, the library and ignore stanza's seemingly do not work. Here is a simple configuration file:
{ "runtime": { "version": "Lua5.1" }, "workspace": { "enableReindex": true, "library": [ "./libs" ] } }And yet:
I expected behavior similar to luals where libraries are ignored entirely and just read for annotations. Similarly, if I try any combination of ignoreDir and ignoreGlobs, things may or may not lint even if I don't want them to.
The only combination that I can get to work is if I literally ignoreGlob
**/*.lua, and even then, if i open a file directly, it will sometimes lint it anyway.