Skip to content

Commit

Permalink
Merge pull request #5 from Ultimaker/fix_property_placement_prop_spre…
Browse files Browse the repository at this point in the history
…ading

Update index.js
  • Loading branch information
ianpaschal authored Sep 23, 2019
2 parents 53341dc + 5b10e02 commit 04d94a6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ module.exports = {
extensions: ['.tsx'],
}],

// Allow using defaultProps at top of class declaration
'react/static-property-placement': ['error', 'static public field'],

// Allow prop spreading
'react/jsx-props-no-spreading': 'off',

// Not going to worry about keyboard navigation for now
'jsx-a11y/click-events-have-key-events': 'off',
'jsx-a11y/no-static-element-interactions': 'off',
Expand Down

0 comments on commit 04d94a6

Please sign in to comment.