fsprojects / fsprojects/FSharpLint
Add exceptions to the json config
Nobody has claimed this yet.
- Dominant language
- F#
- Stars
- 327
- Forks
- 74
- PR merge metrics
- No merged PRs in 30d
Description
Description
It would be convenient, for every rule, to be able to provide a list of exceptions, perhaps regexes to allow for extra flexibility. This would enable great flexibility, yet have no cost to a user that just runs with the defaults.
My concrete use case is as follows. I want to enforce PascalCase for record field names, but there are some system level fields (I'm in metaprogramming land) which I have no control over — the records are React component props, and the special field for which I cannot change capitalization is children.
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
The issue names no files or tests. Start by tracing how JSON configuration reaches individual lint rules and how rule diagnostics are evaluated, then establish the per-rule exception shape and matching behavior. Done means configured exceptions can be honored, including children for PascalCase, while default configurations retain current behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- fsharp
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100