-
-
Couldn't load subscription status.
- Fork 202
Description
Issue created from fantomas-online
Code
let user = "abc"
let json = $$"""
{
"id": "ABC",
"name": "{{user}}",
};
"""Result
let user = "abc"
let json =
$$"""
{
"id": "ABC",
"name": "{{user}",
};
"""
Problem description
We configured out build to fail on fantomas errors. And if fails on this code. Here's the output from Fantomas:
Formatted │ 0 │ Ignored │ 60 │ Unchanged │ 252 │ Errored │ 1
Failed to format file: ./src/Bootstrapper/PhobosBootstrapper.fs : Formatting ./src/Bootstrapper/PhobosBootstrapper.fs leads to invalid F# code
Extra information
- The formatted result breaks my code.
- The formatted result gives compiler warnings.
- I or my company would be willing to help fix this.
- I would like a release if this problem is solved.
Options
Fantomas main branch at 2024-02-15T12:00:55Z - 0700fd6
Default Fantomas configuration
Did you know that you can ignore files when formatting by using a .fantomasignore file?
PS: It's unlikely that someone else will solve your specific issue, as it's something that you have a personal stake in.