Skip to content

Commit

Permalink
Update eslint (#366)
Browse files Browse the repository at this point in the history
* Upgrade eslint

* Migrate from the deprecated react/jsx-space-before-closing rule to the new react/jsx-tag-spacing
  • Loading branch information
prontiol authored Jun 6, 2021
1 parent 72abce2 commit 9c51c0e
Show file tree
Hide file tree
Showing 3 changed files with 89 additions and 151 deletions.
4 changes: 2 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ module.exports = {
'react/jsx-no-undef': ERROR,
// We don't care to do this
'react/jsx-sort-prop-types': OFF,
'react/jsx-space-before-closing': ERROR,
'react/jsx-tag-spacing': ERROR,
'react/jsx-uses-react': ERROR,
'react/no-is-mounted': OFF,
// This isn't useful in our test code
Expand Down Expand Up @@ -118,5 +118,5 @@ module.exports = {
],
globals: {
__DEV__: true,
}
},
};
Loading

0 comments on commit 9c51c0e

Please sign in to comment.