Skip to content

feat: use JSONC parsing#56

Open
Zamiell wants to merge 1 commit intoeBayClassifiedsGroup:masterfrom
Zamiell:fix-whitespace
Open

feat: use JSONC parsing#56
Zamiell wants to merge 1 commit intoeBayClassifiedsGroup:masterfrom
Zamiell:fix-whitespace

Conversation

@Zamiell
Copy link
Copy Markdown

@Zamiell Zamiell commented Apr 1, 2026

Fixes #55.

The root cause of the bug is this line:

fs.writeFileSync(tsconfigFilePath, stringify(newTsConfig, null, 2) + '\n');

I think it makes more sense to use a JSONC parser, which this pull request implements.

All tests pass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrectly deletes newlines

1 participant