satoren / lualint_for_vscode

lua linter for Visual Studio Code
The Unlicense
8 stars 12 forks source link

.luacheckrc file does not appear to be picked up (Windows) #3

Open Mythricia opened 5 years ago

Mythricia commented 5 years ago

I have a .luacheckrc file created in the workspace of a Lua project, and it doesn't seem to be working. I defined some simple rules in the file, but it has no effect on the Lua source files in the workspace. I tried placing the .luacheckrc file higher up in the folder hierarchy but that didn't help.

I don't think I am doing anything wrong, but I'm not sure what more to test, to track down the issue.

explorer_2018-10-30_16-43-44

Mayron commented 5 years ago

I had a similar issue with Windows and had to also install Luacheck in VS Code to get it working (by rog2, version 1.0.0). Try that if you haven't already. I didn't have to do this on my Mac laptop as the file inside lualint must just work but not sure why.