Skip to content

Commit

Permalink
enable react in scope lint rule
Browse files Browse the repository at this point in the history
  • Loading branch information
mfix22 committed Oct 2, 2018
1 parent 67be8f6 commit 01023bb
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 1 deletion.
1 change: 0 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ module.exports = {
},
plugins: ['react', 'import'],
rules: {
'react/react-in-jsx-scope': 'off',
'react/prop-types': 'off',
'react/display-name': 'off',
'react/jsx-uses-react': 'error',
Expand Down
1 change: 1 addition & 0 deletions components/Meta.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import React from 'react'
import Head from 'next/head'
import { THEMES, THEMES_HASH } from '../lib/constants'
import Reset from './style/Reset'
Expand Down
2 changes: 2 additions & 0 deletions components/Overlay.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import React from 'react'

const Overlay = props => (
<div className="dnd-container">
{props.isOver ? <div className="dnd-overlay">{props.title}</div> : null}
Expand Down
1 change: 1 addition & 0 deletions pages/_document.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import React from 'react'
import Document, { Head, Main, NextScript } from 'next/document'

export default class extends Document {
Expand Down
1 change: 1 addition & 0 deletions pages/about.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import React from 'react'
import Page from '../components/Page'
import { COLORS } from '../lib/constants'

Expand Down

0 comments on commit 01023bb

Please sign in to comment.