Skip to content

Commit

Permalink
ignore eslint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
limonte committed Dec 17, 2019
1 parent 3b9328f commit ec05a41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react'
import ReactDOM from 'react-dom'
import { mounts } from './mounts'

const noop = () => {}
const noop = () => {} // eslint-disable-line @typescript-eslint/no-empty-function
const error = message => new Error(`sweetalert2-react-content: ${message}`)

export default function withReactContent (ParentSwal) {
Expand Down
2 changes: 1 addition & 1 deletion test/integration.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { timeout } from './util/util'
describe('integration', () => {
beforeAll(async () => {
// jest doesn't implement `window.scrollTo` so we need to mock it
window.scrollTo = () => {}
window.scrollTo = () => {} // eslint-disable-line @typescript-eslint/no-empty-function
})
it('renders React elements for each supported option', async () => {
await cleanSwalState()
Expand Down

0 comments on commit ec05a41

Please sign in to comment.