fsprojects / fsprojects/FSharpLint
Enable #nowarn to disable FSharpLint warnings
Open
Nobody has claimed this yet.
- Dominant language
- F#
- Stars
- 327
- Forks
- 74
- PR merge metrics
- No merged PRs in 30d
Description
Description
Enable #nowarn to disable FSharpLint warnings
Repro steps
#nowarn "FL0038"
type lowercase = class end
Expected behavior
Lint warning is disabled for file.
Actual behavior
Lint warning continues to exist.
Known workarounds
Use the provided json settings - Not standard and not local to the file.
Related information
- Operating system Windows
- Branch master
- .NET Runtime, CoreCLR or Mono Version 5.0.400
- Performance information, links to performance testing scripts None
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start from the F# repro using #nowarn "FL0038" and inspect how FSharpLint reads source directives and emits warnings. Done means the directive disables the specified lint warning for the file while JSON settings remain unnecessary; verify the reported repro case and related lint behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- fsharp
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100