Skip to content

Commit

Permalink
fix(next): add additional rule to allow react in scope
Browse files Browse the repository at this point in the history
  • Loading branch information
ultrox committed Jan 20, 2019
1 parent 6a98e44 commit b811607
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions next.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports = {
rules: {
'react/react-in-jsx-scope': 'off',
'react/jsx-no-undef': ['error', {allowGlobals: true}],
},
globals: {
React: true,
Expand Down

0 comments on commit b811607

Please sign in to comment.