fsprojects / fsprojects/FSharpLint

bug: `dotnet fsharplint lint existingFile1.fs existingFile2.fs` only analyzes the last file

Open
#802 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
F#
Stars
327
Forks
74
PR merge metrics
No merged PRs in 30d

Description

Steps to reproduce: dotnet fsharplint lint existingFile1.fs existingFile2.fs
Current results:

========== Linting existingFile2.fs ==========
========== Finished: 0 warnings ==========
========== Summary: 0 warnings ==========

Expected results:
Either analyze all (both) files, or give error saying that only one file is supported at a time.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the command-line handling for dotnet fsharplint lint and trace how multiple input paths are parsed and passed to linting. Reproduce the command with two .fs files, then ensure the result either analyzes both files or clearly rejects multiple-file input.

Written by the indexing model from the issue text.

Assessment

Tech stack
fsharp
Domain
cli, devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.