Skip to content

Wildcard support improvements #815

@knocte

Description

@knocte

PR777 introduced new testcases in tests/FSharpLint.Console.Tests/TestApp.fs that contain * and ? characters.

It's not clear, though, if wildcards can be used for slnx/sln/fsproj files because none of those tests/testcases include this. We should add tests for this (and make them pass in case they don't). For these cases, the string "Wildcard detected, but not recommended. Using a project (slnx/sln/fsproj) can detect more issues." should of course not be printed in the console in these cases.

Also, the string "Wildcard detected, but not recommended. Using a project (slnx/sln/fsproj) can detect more issues." should be printed also when targetting .fs files alone (even if they are not specified with wildcards), but morphed slightly into "Going to analyse single .fs file, but not recommended. Using a project (slnx/sln/fsproj) can detect more issues."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions