Skip to content

Commit c4e7ad1

Browse files
committed
More tweaks
1 parent ef4f07b commit c4e7ad1

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

.eslintignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@ node_modules/
33
storybook-static/
44
*.spec.js
55
src/generated/gql/
6-
.eslintrc.js
7-
webpack.config.js
6+
src/queries/

.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ module.exports = {
3434
},
3535
],
3636
'@typescript-eslint/ban-ts-comment': 'warn',
37+
'@typescript-eslint/no-require-imports': 'off',
3738
'no-multiple-empty-lines': 'warn',
3839
'jsx-a11y/no-noninteractive-tabindex': 'warn',
3940
'react/jsx-indent': 'warn',

cypress/support/e2e.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import './commands'
1717

1818
declare global {
1919
namespace Cypress {
20-
// eslint-disable-next-line @typescript-eslint/no-empty-interface
20+
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
2121
interface Chainable {
2222
// Def types for your custom commands here, sir (or maddam).
2323
}

src/components/CropImageModal/CropImageModal.stories.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
import { Meta } from '@storybook/react'
12
import React, { useRef } from 'react'
23
import { Container, toaster } from 'toasterhea'
3-
import { Meta } from '@storybook/react'
44
import { COLORS } from '~/shared/utils/styled'
55
import { Layer } from '~/utils/Layer'
66
import CropImageModal from './CropImageModal'
@@ -28,7 +28,7 @@ const Story = () => {
2828
imageUrl: URL.createObjectURL(e.target.files[0]),
2929
mask: 'round',
3030
})
31-
} catch (e) {
31+
} catch (_) {
3232
// Ignore.
3333
}
3434
})()

src/components/CropImageModal/CropImageModal.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const mockGetCroppingRect = jest.fn(() => ({
2424
jest.doMock('react-avatar-editor', () => ({
2525
__esModule: true,
2626
// eslint-disable-next-line react/display-name
27-
default: forwardRef((props, ref: any) => {
27+
default: forwardRef((_, ref: any) => {
2828
// eslint-disable-next-line no-param-reassign
2929
ref.current = {
3030
getImage: mockGetImage,

0 commit comments

Comments
 (0)