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

Don't filter out .fsi files #83

Merged
merged 1 commit into from Sep 10, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 0 additions & 7 deletions src/FSharp.Analyzers.Cli/Program.fs
Expand Up @@ -145,13 +145,6 @@ let runProject toolsPath proj (globs: Glob list) =
let allSymbolUses = checkProjectResults.GetAllUsesOfAllSymbols()

opts.SourceFiles
|> Array.filter (fun file ->
match Path.GetExtension(file).ToLowerInvariant() with
| ".fsi" ->
printInfo $"Ignoring signature file %s{file}"
false
| _ -> true
)
|> Array.filter (fun file ->
match globs |> List.tryFind (fun g -> g.IsMatch file) with
| Some g ->
Expand Down