Skip to content
New issue

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

Empty line added on each format #597

Closed
vilinski opened this issue Dec 12, 2019 · 2 comments
Closed

Empty line added on each format #597

vilinski opened this issue Dec 12, 2019 · 2 comments

Comments

@vilinski
Copy link

Issue created from fantomas-ui

Each format adds a new empty line after let mPerSecond

Code

namespace Krach

module Runner =

    let mPerSecond = 1000<m/second>  // after this line is a new line added

    [<Measure>]
    type ProcessId =
        class
        end

Result

namespace Krach

module Runner =

    let mPerSecond = 1000<m/second>


    [<Measure>]
    type ProcessId =
        class
        end

Options

Fantomas 3.1.0

Name Value
IndentOnTryWith false
IndentSpaceNum 4
KeepNewlineAfter false
MaxIfThenElseShortWidth 40
PageWidth 120
ReorderOpenDeclaration false
SemicolonAtEndOfLine false
SpaceAfterComma true
SpaceAfterSemicolon true
SpaceAroundDelimiter true
SpaceBeforeArgument true
SpaceBeforeColon false
StrictMode false
@nojaf nojaf closed this as completed Dec 12, 2019
@nojaf
Copy link
Contributor

nojaf commented Dec 12, 2019

@vilinski you can use a pre-release from MyGet if you want, https://www.myget.org/feed/fantomas/package/nuget/fantomas-tool

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

No branches or pull requests

2 participants