We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue created from fantomas-ui
Please describe here fantomas problem you encountered With strict mode on, it strips out the Quotation mark escapes, making the code invalid syntax
let toCsv (items:Ipish list):string= let formatter = // escape commas left in invalid entries sprintf "%i,\"%s\"" items |> List.map(function |Valid(i,vip)-> formatter i vip.Raw |Invalid(i,raw) -> formatter i raw ) |> String.concat System.Environment.NewLine |> sprintf "index,value%s%s" System.Environment.NewLine
let toCsv (items : Ipish list) : string = let formatter = sprintf "%i,"%s"" items |> List.map (function | Valid(i, vip) -> formatter i vip.Raw | Invalid(i, raw) -> formatter i raw) |> String.concat System.Environment.NewLine |> sprintf "index,value%s%s" System.Environment.NewLine
Fantomas 2.9.2
IndentSpaceNum
4
PageWidth
80
PreserveEndOfLine
false
SemicolonAtEndOfLine
SpaceBeforeArgument
true
SpaceBeforeColon
SpaceAfterComma
SpaceAfterSemicolon
IndentOnTryWith
ReorderOpenDeclaration
SpaceAroundDelimiter
StrictMode
The text was updated successfully, but these errors were encountered:
Escape single double quote in strict mode. Fixes #440.
0e1aa7d
No branches or pull requests
Issue created from fantomas-ui
Please describe here fantomas problem you encountered
With strict mode on, it strips out the Quotation mark escapes, making the code invalid syntax
Code
Result
Options
Fantomas 2.9.2
IndentSpaceNum
4
PageWidth
80
PreserveEndOfLine
false
SemicolonAtEndOfLine
false
SpaceBeforeArgument
true
SpaceBeforeColon
true
SpaceAfterComma
true
SpaceAfterSemicolon
true
IndentOnTryWith
false
ReorderOpenDeclaration
false
SpaceAroundDelimiter
true
StrictMode
true
The text was updated successfully, but these errors were encountered: