lune icon indicating copy to clipboard operation
lune copied to clipboard

unable to find `.luaurc` if `.luaurc` contains invalid JSON syntax

Open 4x8Matrix opened this issue 8 months ago • 0 comments

Context

Writing this after I raised an initial discussion in the OSS Discord here

Issue

The error failed to find alias '{alias}' (no .luaurc) presents itself and can confuse the consumer if the .luaurc file itself has invalid syntax, for instance - if someone tries to add comments into JSON.

Solution

Ideally, an alternative error is shown, something along the lines of .luaurc contains invalid JSON syntax, ln X

4x8Matrix avatar Jun 08 '24 20:06 4x8Matrix