Skip to content

Commit

Permalink
[eslint config] [patch] Add static-variables to sort-comp rule
Browse files Browse the repository at this point in the history
  • Loading branch information
foglerek authored and ljharb committed Oct 4, 2019
1 parent 8f78e1f commit 3fb312f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/eslint-config-airbnb/rules/react.js
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ module.exports = {
// https://github.com/yannickcr/eslint-plugin-react/blob/843d71a432baf0f01f598d7cf1eea75ad6896e4b/docs/rules/sort-comp.md
'react/sort-comp': ['error', {
order: [
'static-variables',
'static-methods',
'instance-variables',
'lifecycle',
Expand Down

0 comments on commit 3fb312f

Please sign in to comment.