diff --git a/src/Fantomas.Core/Fantomas.Core.fsproj b/src/Fantomas.Core/Fantomas.Core.fsproj index fe1d4b0169..aa18a5782c 100644 --- a/src/Fantomas.Core/Fantomas.Core.fsproj +++ b/src/Fantomas.Core/Fantomas.Core.fsproj @@ -20,6 +20,11 @@ + + + + + diff --git a/src/Fantomas.Core/FormatConfig.fs b/src/Fantomas.Core/FormatConfig.fs index da78a5d8dd..cc41a6aca8 100644 --- a/src/Fantomas.Core/FormatConfig.fs +++ b/src/Fantomas.Core/FormatConfig.fs @@ -218,8 +218,7 @@ type FormatConfig = // [] // [] // [] - //ExperimentalStroustrupStyle: bool - + [] [] [] @@ -271,6 +270,3 @@ type FormatConfig = MultilineBracketStyle = Classic KeepMaxNumberOfBlankLines = 100 StrictMode = false } - - member this.ExperimentalStroustrupStyle = - this.MultilineBracketStyle = ExperimentalStroustrup diff --git a/src/Fantomas.Tests/EditorConfigurationTests.fs b/src/Fantomas.Tests/EditorConfigurationTests.fs index 4ca80a0451..42616b850c 100644 --- a/src/Fantomas.Tests/EditorConfigurationTests.fs +++ b/src/Fantomas.Tests/EditorConfigurationTests.fs @@ -465,7 +465,6 @@ fsharp_experimental_stroustrup_style = true let config = EditorConfig.readConfiguration fsharpFile.FSharpFile Assert.AreEqual(ExperimentalStroustrup, config.MultilineBracketStyle) - Assert.IsTrue config.ExperimentalStroustrupStyle [] let ``fsharp_multiline_bracket_style = experimental_stroustrup`` () =