oxc-project / oxc-project/backlog
Opportunities to enhance current lint rules with types
Open
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 7
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
This is not something that should be picked up: this is a list of rules that could be enhanced if/when we decide to implement type information as part of linting.
no-extra-boolean-cast- Fix any
Boolean(x)intoxif the type ofxisboolean
- Fix any
unicorn/require-post-message-target-origin- Only fix
foo.postMessage(msg)intofoo.postMessage(msg, origin)if thepostMessagemethod has a second argument
- Only fix
Contributor guide
No contributing guide indexed for this repository
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
Review the two listed rules, no-extra-boolean-cast and unicorn/require-post-message-target-origin, along with the stated type-information requirement. Done would mean deciding whether and how type-aware linting should enable the two proposed enhancements; this issue explicitly says it is not ready to be picked up.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 20/100