diff --git a/.eslintrc.js b/.eslintrc.js index 589424a6..1455e63a 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -25,6 +25,7 @@ module.exports = { '@typescript-eslint/interface-name-prefix': 'off', '@typescript-eslint/no-inferrable-types': 'off', '@typescript-eslint/no-non-null-assertion': 'off', + '@typescript-eslint/ban-ts-ignore': 'off', 'react/prop-types': 'off', diff --git a/src/components/PayloadSamples/PayloadSamples.tsx b/src/components/PayloadSamples/PayloadSamples.tsx index 7e2a85f0..36f232ff 100644 --- a/src/components/PayloadSamples/PayloadSamples.tsx +++ b/src/components/PayloadSamples/PayloadSamples.tsx @@ -1,3 +1,7 @@ +// @ts-ignore +// eslint-disable-next-line @typescript-eslint/no-unused-vars +import ReactDropdown from 'react-dropdown'; + import { observer } from 'mobx-react'; import * as React from 'react'; import { MediaTypeSamples } from './MediaTypeSamples'; diff --git a/src/components/PayloadSamples/styled.elements.ts b/src/components/PayloadSamples/styled.elements.ts index 944db934..5dd3f41a 100644 --- a/src/components/PayloadSamples/styled.elements.ts +++ b/src/components/PayloadSamples/styled.elements.ts @@ -1,3 +1,7 @@ +// @ts-ignore +// eslint-disable-next-line @typescript-eslint/no-unused-vars +import ReactDropdown from 'react-dropdown'; + import { transparentize } from 'polished'; import styled from '../../styled-components';