Skip to content

Commit

Permalink
Default value should be a static property
Browse files Browse the repository at this point in the history
  • Loading branch information
dungpa committed Jul 16, 2015
1 parent f956d4d commit 95fb25c
Show file tree
Hide file tree
Showing 8 changed files with 74 additions and 75 deletions.
24 changes: 12 additions & 12 deletions src/FSharpLint.Application/AssemblyInfo.fs
@@ -1,12 +1,12 @@
namespace System
open System.Reflection

[<assembly: AssemblyTitleAttribute("FSharpLint")>]
[<assembly: AssemblyProductAttribute("FSharpLint")>]
[<assembly: AssemblyDescriptionAttribute("Lint tool for F#.")>]
[<assembly: AssemblyVersionAttribute("0.2.5")>]
[<assembly: AssemblyFileVersionAttribute("0.2.5")>]
do ()

module internal AssemblyVersionInformation =
let [<Literal>] Version = "0.2.5"
namespace System
open System.Reflection

[<assembly: AssemblyTitleAttribute("FSharpLint")>]
[<assembly: AssemblyProductAttribute("FSharpLint")>]
[<assembly: AssemblyDescriptionAttribute("Lint tool for F#.")>]
[<assembly: AssemblyVersionAttribute("0.2.5")>]
[<assembly: AssemblyFileVersionAttribute("0.2.5")>]
do ()

module internal AssemblyVersionInformation =
let [<Literal>] Version = "0.2.5"
3 changes: 1 addition & 2 deletions src/FSharpLint.Application/Lint.fs
Expand Up @@ -309,8 +309,7 @@ module Lint =
ReceivedWarning: (LintWarning.Warning -> unit) option
}

member this.Default
with get() = { FinishEarly = None; Configuration = None; ReceivedWarning = None }
static member Default = { FinishEarly = None; Configuration = None; ReceivedWarning = None }

/// If your application has already parsed the F# source files using `FSharp.Compiler.Services`
/// you want to lint then this can be used to provide the parsed information to prevent the
Expand Down
2 changes: 1 addition & 1 deletion src/FSharpLint.Application/Lint.fsi
Expand Up @@ -92,7 +92,7 @@ module Lint =
ReceivedWarning: (LintWarning.Warning -> unit) option
}

member Default: OptionalLintParameters
static member Default: OptionalLintParameters

/// If your application has already parsed the F# source files using `FSharp.Compiler.Services`
/// you want to lint then this can be used to provide the parsed information to prevent the
Expand Down
24 changes: 12 additions & 12 deletions src/FSharpLint.Console/AssemblyInfo.fs
@@ -1,12 +1,12 @@
namespace System
open System.Reflection

[<assembly: AssemblyTitleAttribute("FSharpLint")>]
[<assembly: AssemblyProductAttribute("FSharpLint")>]
[<assembly: AssemblyDescriptionAttribute("Lint tool for F#.")>]
[<assembly: AssemblyVersionAttribute("0.2.5")>]
[<assembly: AssemblyFileVersionAttribute("0.2.5")>]
do ()

module internal AssemblyVersionInformation =
let [<Literal>] Version = "0.2.5"
namespace System
open System.Reflection

[<assembly: AssemblyTitleAttribute("FSharpLint")>]
[<assembly: AssemblyProductAttribute("FSharpLint")>]
[<assembly: AssemblyDescriptionAttribute("Lint tool for F#.")>]
[<assembly: AssemblyVersionAttribute("0.2.5")>]
[<assembly: AssemblyFileVersionAttribute("0.2.5")>]
do ()

module internal AssemblyVersionInformation =
let [<Literal>] Version = "0.2.5"
24 changes: 12 additions & 12 deletions src/FSharpLint.FAKE/AssemblyInfo.fs
@@ -1,12 +1,12 @@
namespace System
open System.Reflection

[<assembly: AssemblyTitleAttribute("FSharpLint")>]
[<assembly: AssemblyProductAttribute("FSharpLint")>]
[<assembly: AssemblyDescriptionAttribute("Lint tool for F#.")>]
[<assembly: AssemblyVersionAttribute("0.2.5")>]
[<assembly: AssemblyFileVersionAttribute("0.2.5")>]
do ()

module internal AssemblyVersionInformation =
let [<Literal>] Version = "0.2.5"
namespace System
open System.Reflection

[<assembly: AssemblyTitleAttribute("FSharpLint")>]
[<assembly: AssemblyProductAttribute("FSharpLint")>]
[<assembly: AssemblyDescriptionAttribute("Lint tool for F#.")>]
[<assembly: AssemblyVersionAttribute("0.2.5")>]
[<assembly: AssemblyFileVersionAttribute("0.2.5")>]
do ()

module internal AssemblyVersionInformation =
let [<Literal>] Version = "0.2.5"
24 changes: 12 additions & 12 deletions src/FSharpLint.Framework/AssemblyInfo.fs
@@ -1,12 +1,12 @@
namespace System
open System.Reflection

[<assembly: AssemblyTitleAttribute("FSharpLint")>]
[<assembly: AssemblyProductAttribute("FSharpLint")>]
[<assembly: AssemblyDescriptionAttribute("Lint tool for F#.")>]
[<assembly: AssemblyVersionAttribute("0.2.5")>]
[<assembly: AssemblyFileVersionAttribute("0.2.5")>]
do ()

module internal AssemblyVersionInformation =
let [<Literal>] Version = "0.2.5"
namespace System
open System.Reflection

[<assembly: AssemblyTitleAttribute("FSharpLint")>]
[<assembly: AssemblyProductAttribute("FSharpLint")>]
[<assembly: AssemblyDescriptionAttribute("Lint tool for F#.")>]
[<assembly: AssemblyVersionAttribute("0.2.5")>]
[<assembly: AssemblyFileVersionAttribute("0.2.5")>]
do ()

module internal AssemblyVersionInformation =
let [<Literal>] Version = "0.2.5"
24 changes: 12 additions & 12 deletions src/FSharpLint.MSBuildIntegration/AssemblyInfo.fs
@@ -1,12 +1,12 @@
namespace System
open System.Reflection

[<assembly: AssemblyTitleAttribute("FSharpLint")>]
[<assembly: AssemblyProductAttribute("FSharpLint")>]
[<assembly: AssemblyDescriptionAttribute("Lint tool for F#.")>]
[<assembly: AssemblyVersionAttribute("0.2.5")>]
[<assembly: AssemblyFileVersionAttribute("0.2.5")>]
do ()

module internal AssemblyVersionInformation =
let [<Literal>] Version = "0.2.5"
namespace System
open System.Reflection

[<assembly: AssemblyTitleAttribute("FSharpLint")>]
[<assembly: AssemblyProductAttribute("FSharpLint")>]
[<assembly: AssemblyDescriptionAttribute("Lint tool for F#.")>]
[<assembly: AssemblyVersionAttribute("0.2.5")>]
[<assembly: AssemblyFileVersionAttribute("0.2.5")>]
do ()

module internal AssemblyVersionInformation =
let [<Literal>] Version = "0.2.5"
24 changes: 12 additions & 12 deletions src/FSharpLint.Rules/AssemblyInfo.fs
@@ -1,12 +1,12 @@
namespace System
open System.Reflection

[<assembly: AssemblyTitleAttribute("FSharpLint")>]
[<assembly: AssemblyProductAttribute("FSharpLint")>]
[<assembly: AssemblyDescriptionAttribute("Lint tool for F#.")>]
[<assembly: AssemblyVersionAttribute("0.2.5")>]
[<assembly: AssemblyFileVersionAttribute("0.2.5")>]
do ()

module internal AssemblyVersionInformation =
let [<Literal>] Version = "0.2.5"
namespace System
open System.Reflection

[<assembly: AssemblyTitleAttribute("FSharpLint")>]
[<assembly: AssemblyProductAttribute("FSharpLint")>]
[<assembly: AssemblyDescriptionAttribute("Lint tool for F#.")>]
[<assembly: AssemblyVersionAttribute("0.2.5")>]
[<assembly: AssemblyFileVersionAttribute("0.2.5")>]
do ()

module internal AssemblyVersionInformation =
let [<Literal>] Version = "0.2.5"

0 comments on commit 95fb25c

Please sign in to comment.