JohnnyMorganz

Results 418 comments of JohnnyMorganz

Yup, see https://github.com/JohnnyMorganz/StyLua/issues/407

Both eslint and rust-analyzer clear the diagnostics of a file once it has been closed. It does mean that you may forget about some of the diagnostics that pop up,...

Definitely sounds reasonable to add to me. Slightly concerned about the 20min time to run the formatter though, I wouldn't expect it to take that long. Is there anything in...

Just wanted to also mention, you can probably do this already either by using `git diff --name-only` or something like https://github.com/marketplace/actions/changed-files, then piping the list of changed files in as...

Had a quick look, on my machine these file timings seems to be the slowest ones to me: ``` debug: formatted .\WeakAuras\Prototypes.lua in 4.3554156s debug: formatted .\WeakAurasTemplates\TriggerTemplatesData.lua in 8.8273347s debug:...

Sorry, I missed this issue. Annotations in combination with summary output will be somewhat challenging. The only way (I think) we can do annotations is to parse the output of...

This being expected seems somewhat disappointing IMO - there are logically valid programs which throw false positives here. One use case I can think of is programmatically updating a batch...

> should a user want to perform the same static type checking at the command line (f.ex to easily integrate this into build scripts), the same seems to be impossible...

You can get the behaviour you want using the type assertion operator. Unsure if that is the recommended way to do this though ```lua type MyFunType = { Something: ()...

I also have this issue. I think (and I might be wrong here) it's because the type of a table literal is independent of the type annotation of the local...