Linting updates only when the script file is loaded

I see similar behaviour on Windows and version 1.9.1, and I have a feeling that linting worked more correctly when it should have been included as a dependency.

I also tried configuring the .luacheckrc file as described in this manual:

In specific globals variables (I wanted to add the names of native extensions so that they are not underlined), but I didn’t notice any changes in linting.

1 Like