jsx-eslint/eslint-plugin-react
Auf GitHub ansehenAdd functionsLast to sort-prop-types
Open
#1.465 geöffnet am 6. Okt. 2017
enhancementhelp wanted
Repository-Metriken
- Stars
- (8.630 Stars)
- PR-Merge-Metriken
- (Keine gemergten PRs in 30 T)
Beschreibung
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.