Skip to content
This repository has been archived by the owner on Oct 19, 2021. It is now read-only.

JSON parser croaks on utf-8 BOM #654

Open
johndeighan opened this issue May 20, 2021 · 1 comment
Open

JSON parser croaks on utf-8 BOM #654

johndeighan opened this issue May 20, 2021 · 1 comment

Comments

@johndeighan
Copy link

I created a custom JSON config file, then I modified one of the keys. coffeelint croaked on the first character in the file, which turned out to be a UTF-8 BOM (byte order mark), which my editor automatically created. When I turned that off in my editor, things worked fine but I think that your JSON parser should ignore any BOM that might be present.

@UziTech
Copy link

UziTech commented May 20, 2021

Development for coffeelint is on a new repo https://github.com/coffeelint/coffeelint

And v3 was released as @coffeelint/cli

If you could add an issue in that repo we could look into it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants