airbnb / airbnb/javascript

[suggestion]Add type-annotations to react/sort-comp

Open
#1,922 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
148k
Forks
26.6k
PR merge metrics
No merged PRs in 30d

Description

`react/sort-comp` rule of `eslint-plugin-react` support `type-annotations` group, which is useful in FLow and Typescipt project

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the implementation and tests for the eslint-plugin-react `react/sort-comp` rule. Check how existing groups are defined and tested, then add coverage showing that `type-annotations` is recognized for Flow and TypeScript projects; done means the rule accepts and orders that group as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
eslint, javascript, react
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.