From ec05a41dc1d11ac0b42a7b1585cdb1ae5c704a10 Mon Sep 17 00:00:00 2001 From: Limon Monte Date: Wed, 18 Dec 2019 00:59:20 +0200 Subject: [PATCH] ignore eslint issues --- src/index.js | 2 +- test/integration.test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.js b/src/index.js index 5d6057c..68fa9f2 100644 --- a/src/index.js +++ b/src/index.js @@ -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) { diff --git a/test/integration.test.js b/test/integration.test.js index c98179a..b17ebbc 100644 --- a/test/integration.test.js +++ b/test/integration.test.js @@ -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()