3 comments (3 comments)5 reactions (5 reactions)0 assignees (0 assignees)JavaScript468 forks (468 forks)user submission
help wantednew rule
Repository metrics
- Stars
- 5,022 stars (5,022 stars)
- PR merge metrics
- Avg merge 1d 16h (Avg merge 1d 16h)399 merged PRs in 30d (399 merged PRs in 30d)
Description
Description
Enforce clean code.
Fail
a ? b ? c : 1 : 1
Pass
a && b ? c : 1
Additional Info
No response
Contributor guide
- Research direction
- Study the existing eslint plugin unicorn rules to understand the structure, then implement the no identical alternate rule using AST selectors to detect identical alternates in ternary expressions.
- Tech stack
- javascript
- Domain
- toolingdeveloper experience
- Issue type
- Feature
- Prerequisites
- JavaScriptESLint