fsprojects / fantomas

FSharp source code formatter
https://fsprojects.github.io/fantomas
Other
770 stars 194 forks source link

Process is reserved keyword #2996

Closed nojaf closed 10 months ago

nojaf commented 10 months ago

Issue created from fantomas-online

Code

module Bench.Platform

let process: IProcess = importAll "process"

Result

module Bench.Platform

let process: IProcess = importAll "process"

Problem description

Right now, Fantomas will consider this as an error after formatting. We should not be so strict about this diagnostic as the user had this in the source input.

Extra information

Options

Fantomas main branch at 2023-11-21T08:04:47Z - 9370dd6668485e709e62d475a58df3c18ef3d773

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.