jsx-eslint/eslint-plugin-react

Add functionsLast to sort-prop-types

Open

#1,465 opened on Oct 6, 2017

View on GitHub
 (0 comments) (3 reactions) (0 assignees)JavaScript (2,797 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (8,630 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

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.

Contributor guide