Skip to content
This repository was archived by the owner on Dec 27, 2022. It is now read-only.

Commit 35b4c4b

Browse files
chore(devdeps): update dependency @scaleway/eslint-config-react to v3.11.0 (#586)
* chore(devdeps): update dependency @scaleway/eslint-config-react to v3.11.0 * fix: update imports Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Emmanuel Chambon <echambon@scaleway.com>
1 parent d65901c commit 35b4c4b

File tree

82 files changed

+166
-161
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+166
-161
lines changed

emotion.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ import type { SCWUITheme } from '@scaleway/ui'
33

44
declare module '@emotion/react' {
55
// https://emotion.sh/docs/typescript#define-a-theme
6-
// eslint-disable-next-line @typescript-eslint/no-empty-interface
6+
// eslint-disable-next-line @typescript-eslint/no-empty-interface, @typescript-eslint/consistent-type-definitions
77
export interface Theme extends SCWUITheme {}
88
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
"@rollup/plugin-babel": "6.0.3",
139139
"@rollup/plugin-node-resolve": "15.0.1",
140140
"@rollup/plugin-url": "8.0.1",
141-
"@scaleway/eslint-config-react": "3.10.5",
141+
"@scaleway/eslint-config-react": "3.11.0",
142142
"@scaleway/jest-helpers": "2.0.24",
143143
"@semantic-release/changelog": "6.0.2",
144144
"@semantic-release/commit-analyzer": "9.0.2",

pnpm-lock.yaml

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/CheckboxField/__stories__/BooleanChecked.stories.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
import { Story } from '@storybook/react'
1+
import type { Story } from '@storybook/react'
22
import { CheckboxField } from '..'
3-
import { Form, FormProps } from '../../Form'
3+
import type { FormProps } from '../../Form'
4+
import { Form } from '../../Form'
45

56
export const BooleanChecked: Story<FormProps> = ({ errors }) => (
67
<Form onRawSubmit={() => {}} errors={errors} initialValues={{ foo: true }}>

src/components/CheckboxField/__stories__/Checked.stories.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { Story } from '@storybook/react'
1+
import type { Story } from '@storybook/react'
22
import { CheckboxField } from '..'
3-
import { FormProps } from '../..'
3+
import type { FormProps } from '../..'
44
import { Form } from '../../Form'
55

66
export const Checked: Story<FormProps> = ({ errors }) => (

src/components/CheckboxField/__stories__/Required.stories.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Stack } from '@scaleway/ui'
2-
import { Story } from '@storybook/react'
3-
import { ComponentProps } from 'react'
2+
import type { Story } from '@storybook/react'
3+
import type { ComponentProps } from 'react'
44
import { CheckboxField } from '..'
55
import { Submit } from '../../Submit'
66

src/components/CheckboxField/__stories__/Template.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ComponentStory } from '@storybook/react'
1+
import type { ComponentStory } from '@storybook/react'
22
import { CheckboxField } from '..'
33

44
export const Template: ComponentStory<typeof CheckboxField> = args => (

src/components/CheckboxField/__stories__/index.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Meta } from '@storybook/react'
1+
import type { Meta } from '@storybook/react'
22
import { CheckboxField, Form } from '../..'
33
import { mockErrors } from '../../../mocks'
44

src/components/CheckboxField/index.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
import { Checkbox } from '@scaleway/ui'
2-
import { FieldState } from 'final-form'
3-
import { ComponentProps, ReactNode, Ref, forwardRef } from 'react'
2+
import type { FieldState } from 'final-form'
3+
import type { ComponentProps, ReactNode, Ref } from 'react'
4+
import { forwardRef } from 'react'
45
import { useFormField } from '../../hooks'
56
import { useErrors } from '../../providers/ErrorContext'
6-
import { BaseFieldProps } from '../../types'
7+
import type { BaseFieldProps } from '../../types'
78

89
type CheckboxValue = string
910

src/components/DateField/__stories__/MinMaxDate.stories.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Stack } from '@scaleway/ui'
2-
import { Story } from '@storybook/react'
3-
import { ComponentProps } from 'react'
2+
import type { Story } from '@storybook/react'
3+
import type { ComponentProps } from 'react'
44
import { DateField } from '..'
55
import { Submit } from '../../Submit'
66

0 commit comments

Comments
 (0)