jsx-eslint/eslint-plugin-react

Add functionsLast to sort-prop-types

Open

#1,465 opened on 2017年10月6日

GitHub で見る
 (0 comments) (3 reactions) (0 assignees)JavaScript (2,797 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (8,630 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

Currently the sort-prop-types rule, allows you to set callbacksLast: true, which makes it so callbacks beginning with on are listed last.

I would like to see this expanded with a functionsLast: true option because I don't typically name my callbacks / functions with on.

コントリビューターガイド