File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed
src/components/CropImageModal Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -3,5 +3,4 @@ node_modules/
3
3
storybook-static /
4
4
* .spec.js
5
5
src /generated /gql /
6
- .eslintrc.js
7
- webpack.config.js
6
+ src /queries /
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ module.exports = {
34
34
} ,
35
35
] ,
36
36
'@typescript-eslint/ban-ts-comment' : 'warn' ,
37
+ '@typescript-eslint/no-require-imports' : 'off' ,
37
38
'no-multiple-empty-lines' : 'warn' ,
38
39
'jsx-a11y/no-noninteractive-tabindex' : 'warn' ,
39
40
'react/jsx-indent' : 'warn' ,
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ import './commands'
17
17
18
18
declare global {
19
19
namespace Cypress {
20
- // eslint-disable-next-line @typescript-eslint/no-empty-interface
20
+ // eslint-disable-next-line @typescript-eslint/no-empty-object-type
21
21
interface Chainable {
22
22
// Def types for your custom commands here, sir (or maddam).
23
23
}
Original file line number Diff line number Diff line change
1
+ import { Meta } from '@storybook/react'
1
2
import React , { useRef } from 'react'
2
3
import { Container , toaster } from 'toasterhea'
3
- import { Meta } from '@storybook/react'
4
4
import { COLORS } from '~/shared/utils/styled'
5
5
import { Layer } from '~/utils/Layer'
6
6
import CropImageModal from './CropImageModal'
@@ -28,7 +28,7 @@ const Story = () => {
28
28
imageUrl : URL . createObjectURL ( e . target . files [ 0 ] ) ,
29
29
mask : 'round' ,
30
30
} )
31
- } catch ( e ) {
31
+ } catch ( _ ) {
32
32
// Ignore.
33
33
}
34
34
} ) ( )
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ const mockGetCroppingRect = jest.fn(() => ({
24
24
jest . doMock ( 'react-avatar-editor' , ( ) => ( {
25
25
__esModule : true ,
26
26
// eslint-disable-next-line react/display-name
27
- default : forwardRef ( ( props , ref : any ) => {
27
+ default : forwardRef ( ( _ , ref : any ) => {
28
28
// eslint-disable-next-line no-param-reassign
29
29
ref . current = {
30
30
getImage : mockGetImage ,
You can’t perform that action at this time.
0 commit comments