Skip to content

Commit 3cca22c

Browse files
authored
Merge pull request #384 from Commencis/renovate/commencis-eslint-config-2.x
chore(deps): update dependency @commencis/eslint-config to v2
2 parents 2e38ab0 + c90422b commit 3cca22c

35 files changed

+73
-67
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"devDependencies": {
5454
"@changesets/cli": "2.29.6",
5555
"@commencis/commitlint-config": "1.1.4",
56-
"@commencis/eslint-config": "1.7.5",
56+
"@commencis/eslint-config": "2.1.0",
5757
"@commencis/eslint-plugin": "1.4.5",
5858
"@commencis/lint-staged-config": "1.0.0",
5959
"@commencis/prettier-config": "2.0.0",

pnpm-lock.yaml

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

src/App.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
import { ReactElement } from 'react';
1+
import type { ReactElement } from 'react';
22

33
import { I18nextProvider } from 'react-i18next';
44
import { Provider as StoreProvider } from 'react-redux';
55
import { RouterProvider } from 'react-router';
66

77
import { i18n } from '@/lib';
88

9+
import { ErrorBoundary, PreferencesProvider } from '@/providers';
10+
911
import { router } from '@/router';
1012
import { store } from '@/store';
1113

12-
import { ErrorBoundary, PreferencesProvider } from '@/providers';
13-
1414
export default function App(): ReactElement {
1515
return (
1616
<ErrorBoundary>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
import { ReactElement } from 'react';
1+
import type { ReactElement } from 'react';
22

33
export const Loading = (): ReactElement => <div>Loading...</div>;

src/components/error/Error404.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
import { ReactElement } from 'react';
1+
import type { ReactElement } from 'react';
22

33
export const Error404 = (): ReactElement => <div>404 Not Found</div>;

src/components/error/Error500.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
import { ReactElement } from 'react';
1+
import type { ReactElement } from 'react';
22

33
export const Error500 = (): ReactElement => <div>Something went wrong</div>;

src/components/ui/Button/Button.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
1-
import { ReactElement } from 'react';
1+
import type { ReactElement } from 'react';
22

33
import clsx from 'clsx';
44

55
import type {
66
ButtonProps,
77
ButtonSize,
88
} from '@/components/ui/Button/Button.types';
9-
import { Text } from '@/components/ui/Text/Text';
109
import type { TextVariant } from '@/components/ui/Text/Text.types';
11-
1210
import styles from '@/components/ui/Button/Button.module.scss';
11+
import { Text } from '@/components/ui/Text/Text';
1312

1413
const buttonSizeTextVariantMap = {
1514
small: 'footnoteMedium',

src/components/ui/Button/Button.types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ButtonHTMLAttributes } from 'react';
1+
import type { ButtonHTMLAttributes } from 'react';
22

33
export type ButtonSize = 'small' | 'medium' | 'large';
44
export type ButtonType = 'filled' | 'outlined' | 'text';

src/components/ui/Icon/Icon.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
import { ReactElement, Suspense, useMemo } from 'react';
1+
import type { ReactElement } from 'react';
2+
import { Suspense, useMemo } from 'react';
23

3-
import { SVGComponentProps } from '@/types';
4+
import type { SVGComponentProps } from '@/types';
45

5-
import { IconName, IconSize } from './Icon.types';
6+
import type { IconName, IconSize } from './Icon.types';
67
import { lazyLoadIcon } from './Icon.utils';
78

89
export type IconProps = {

src/components/ui/Icon/Icon.utils.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { type FunctionComponent, lazy, type LazyExoticComponent } from 'react';
22

3-
import { SVGComponentProps } from '@/types';
3+
import type { SVGComponentProps } from '@/types';
44

5-
import { IconName } from './Icon.types';
5+
import type { IconName } from './Icon.types';
66

77
export type LazyLoadIconReturnType = LazyExoticComponent<
88
FunctionComponent<SVGComponentProps>

0 commit comments

Comments
 (0)