diff --git a/src/Button/Button.tsx b/src/Button/Button.tsx index a95e7655..856d5dc4 100644 --- a/src/Button/Button.tsx +++ b/src/Button/Button.tsx @@ -11,12 +11,14 @@ import { import './Button.scss'; +// eslint-disable-next-line no-shadow export enum ButtonSizes { SMALL = 'sm', MEDIUM = 'md', LARGE = 'lg', } +// eslint-disable-next-line no-shadow export enum ButtonVariants { BRAND_GOOGLE = 'brand-google', BRAND_FACEBOOK = 'brand-facebook', diff --git a/src/Drawer/Drawer.test.jsx b/src/Drawer/Drawer.test.jsx index 8355ac1f..8ee34aa1 100644 --- a/src/Drawer/Drawer.test.jsx +++ b/src/Drawer/Drawer.test.jsx @@ -197,7 +197,7 @@ describe('Drawer', () => { await waitFor(() => { expect(onRequestClose).toHaveBeenCalled(); - }) + }); }); it('body tag has Drawer--open', () => { diff --git a/src/InputLabel/InputLabel.jsx b/src/InputLabel/InputLabel.jsx index 1fcc63f3..6e9a6215 100644 --- a/src/InputLabel/InputLabel.jsx +++ b/src/InputLabel/InputLabel.jsx @@ -8,7 +8,6 @@ import 'scss/forms/input_label.scss'; const InputLabel = ({ className, - elementType, labelHtmlFor, text, required, diff --git a/src/InputLegend/InputLegend.jsx b/src/InputLegend/InputLegend.jsx index cd681227..5c145572 100644 --- a/src/InputLegend/InputLegend.jsx +++ b/src/InputLegend/InputLegend.jsx @@ -9,7 +9,6 @@ import 'scss/forms/input_label.scss'; const InputLegend = ({ className, - elementType, labelHtmlFor, text, required, diff --git a/src/RichTextEditor/RichTextEditor.tsx b/src/RichTextEditor/RichTextEditor.tsx index fba8c2c8..15b20fa8 100644 --- a/src/RichTextEditor/RichTextEditor.tsx +++ b/src/RichTextEditor/RichTextEditor.tsx @@ -1,11 +1,11 @@ import type { IOptions } from 'sanitize-html'; -import type { AriaAttributes } from 'react'; +import React, { + forwardRef, type ForwardedRef, useImperativeHandle, type AriaAttributes, +} from 'react'; import type { Extension, Node as TipTapNode, Mark } from '@tiptap/core'; import './RichTextEditor.scss'; -import React, { forwardRef, type ForwardedRef, useImperativeHandle } from 'react'; - import classNames from 'classnames'; import { EditorContent, useEditor } from '@tiptap/react'; diff --git a/src/Tabs/Tabs.test.tsx b/src/Tabs/Tabs.test.tsx index 47985a3b..9b74914c 100644 --- a/src/Tabs/Tabs.test.tsx +++ b/src/Tabs/Tabs.test.tsx @@ -105,7 +105,7 @@ describe('Tabs', () => { userEvent.click(tabTwoButton); await waitFor(() => { expect(onSelectMock).toHaveBeenCalled(); - }) + }); }); }); });