Skip to content

Commit

Permalink
fix(eslint): fix eslint for some packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphaël Benitte committed Dec 13, 2017
1 parent b4428b1 commit 22b6bf6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions packages/nivo-bar/tests/.eslintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
env:
jest: true
2 changes: 1 addition & 1 deletion packages/nivo-scales/src/LinearScale.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
import React, { PureComponent } from 'react'
import { PureComponent } from 'react'
import PropTypes from 'prop-types'
import { computeLinearScale } from './compute'

Expand Down
1 change: 1 addition & 0 deletions packages/nivo-scales/src/Scales.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ const Scales = ({ computedScales, children }) => <Fragment>{children(computedSca

Scales.propTypes = {
children: PropTypes.func.isRequired,
computedScales: PropTypes.object.isRequired,
}

const enhance = compose(
Expand Down

0 comments on commit 22b6bf6

Please sign in to comment.