jackfirth / jackfirth/resyntax
Lint same equals, e.g (equal? foo foo)
Open
Nobody has claimed this yet.
autopilot-candidate
new lint
- Dominant language
- Racket
- Stars
- 70
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
--------------------
#lang racket
(define foo 1)
(define bar 2)
(equal? foo foo) ; user probably meant to check foo against bar
--------------------
#lang racket
; idk what it should generate? It should warn the user that the comparison of the same thing is pointless
As mentioned here:
https://github.com/jeapostrophe/racket-langserver/issues/152#issuecomment-3026511974
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 file or test. Start by reproducing the supplied #lang racket example and tracing how resyntax represents lint or refactoring findings. Done means the same-expression equal? call produces a user-facing warning; confirm it with the repository's existing checks.
Written by the indexing model from the issue text.
Assessment
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100