Skip to content

Commit

Permalink
chore(imagetool) Disable eslint rules causing errors
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoerge committed Mar 4, 2021
1 parent 83891a9 commit 11576f1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/@sanity/imagetool/src/ImageTool.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/* eslint-disable complexity */
import PropTypes from 'prop-types'
// eslint-disable-next-line no-use-before-define
import React from 'react'
import {memoize} from 'lodash'
import getBackingStoreRatio from './getBackingStoreRatio'
Expand Down Expand Up @@ -104,7 +105,9 @@ export default class ImageTool extends React.PureComponent {
}

static defaultProps = {
// eslint-disable-next-line @typescript-eslint/no-empty-function
onChange() {},
// eslint-disable-next-line @typescript-eslint/no-empty-function
onChangeEnd() {},
}

Expand Down

0 comments on commit 11576f1

Please sign in to comment.