Created
April 15, 2018 07:01
-
-
Save stackdumper/2086e9f4b04bbbc8c80e1a24cbf6a933 to your computer and use it in GitHub Desktop.
Eslint react sort comp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
react/sort-comp: | |
- warn | |
- | |
order: | |
- static-methods | |
- constructor | |
- lifecycle | |
- /^on.+$/ | |
- /^handle.+$/ | |
- getters | |
- setters | |
- /^(get|set)(?!(InitialState$|DefaultProps$|ChildContext$)).+$/ | |
- everything-else | |
- /^render.+$/ | |
- render |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment