Support disabling inspections in a specific line with a comment
- Dominant language
- Haskell
- Stars
- 597
- Forks
- 53
- PR merge metrics
- No merged PRs in 30d
Description
I want to disable an inspection for a specific line or a function. For example, the user could do this with a comment such as:
```
-- stan-disable-next-line STAN-0006
mapCyclic = zipWith id . cycle
```
or
```
mapCyclic = zipWith id . cycle -- stan-disable-line STAN-0006
```
Is it feasible to implement something like this?
Contributor guide
Research direction
No files, tests, or entry points are named. Start by tracing how Stan handles source comments and associates inspections with lines or functions, then define the behavior for the proposed stan-disable-next-line and stan-disable-line forms. Done should include support for the requested syntax and tests covering STAN-0006 suppression.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100