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-online
let private validateLocation = createValidatorFor<LocationAdded> () { validate (fun l -> l.Id) [ isNotEmptyGuid ] validate (fun l -> l.Name) [ isNotEmpty hasMinLengthOf 3 ] validate (fun l -> fst l.Location) [ isValidLatitude ] validate (fun l -> snd l.Location) [ isValidLongitude ] validate (fun l -> l.Price) [ isGreaterThan 0. ] validate (fun l -> l.Date) [ isNotMinDate ] validate (fun l -> l.Creator) [ isNotEmpty ] } let meh = create [] { // foo // bar return 42 } [<Tests>] let tests = testList "tests" [ test "test" { Expect.equal true true "unexpected" } ]
let private validateLocation = createValidatorFor<LocationAdded> () { validate (fun l -> l.Id) [ isNotEmptyGuid ] validate (fun l -> l.Name) [ isNotEmpty; hasMinLengthOf 3 ] validate (fun l -> fst l.Location) [ isValidLatitude ] validate (fun l -> snd l.Location) [ isValidLongitude ] validate (fun l -> l.Price) [ isGreaterThan 0. ] validate (fun l -> l.Date) [ isNotMinDate ] validate (fun l -> l.Creator) [ isNotEmpty ] } let meh = create [] { // foo // bar return 42 } [<Tests>] let tests = testList "tests" [ test "test" { Expect.equal true true "unexpected" } ]
This looks like a regression, was in 3.3.0 like:
Fantomas Next - 4.0.0-alpha-001-1/1/1990
IndentSpaceNum
4
PageWidth
120
SemicolonAtEndOfLine
false
SpaceBeforeParameter
true
SpaceBeforeLowercaseInvocation
SpaceBeforeUppercaseInvocation
SpaceBeforeClassConstructor
SpaceBeforeMember
SpaceBeforeColon
SpaceAfterComma
SpaceBeforeSemicolon
SpaceAfterSemicolon
IndentOnTryWith
SpaceAroundDelimiter
MaxIfThenElseShortWidth
40
MaxInfixOperatorExpression
50
MaxRecordWidth
MaxArrayOrListWidth
MaxLetBindingWidth
MultilineBlockBracketsOnSameColumn
NewlineBetweenTypeDefinitionAndMembers
StrictMode
The text was updated successfully, but these errors were encountered:
Add brace before indentation. Fixes fsprojects#835
96c166b
Add brace before indentation. Fixes #835 (#836)
5155008
Successfully merging a pull request may close this issue.
Issue created from fantomas-online
Code
Result
This looks like a regression, was in 3.3.0 like:
Options
Fantomas Next - 4.0.0-alpha-001-1/1/1990
IndentSpaceNum
4
PageWidth
120
SemicolonAtEndOfLine
false
SpaceBeforeParameter
true
SpaceBeforeLowercaseInvocation
true
SpaceBeforeUppercaseInvocation
false
SpaceBeforeClassConstructor
false
SpaceBeforeMember
false
SpaceBeforeColon
false
SpaceAfterComma
true
SpaceBeforeSemicolon
false
SpaceAfterSemicolon
true
IndentOnTryWith
false
SpaceAroundDelimiter
true
MaxIfThenElseShortWidth
40
MaxInfixOperatorExpression
50
MaxRecordWidth
40
MaxArrayOrListWidth
40
MaxLetBindingWidth
40
MultilineBlockBracketsOnSameColumn
false
NewlineBetweenTypeDefinitionAndMembers
false
StrictMode
false
The text was updated successfully, but these errors were encountered: