Skip to content

Commit 65cc157

Browse files
authored
Merge pull request #87 from Commencis/renovate/commencis-eslint-config-2.x
chore(deps): update dependency @commencis/eslint-config to v2
2 parents 4406e8b + 5d37a2a commit 65cc157

22 files changed

+40
-39
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
},
4040
"devDependencies": {
4141
"@commencis/commitlint-config": "1.1.4",
42-
"@commencis/eslint-config": "1.8.0",
42+
"@commencis/eslint-config": "2.1.0",
4343
"@commencis/lint-staged-config": "1.1.0",
4444
"@commencis/prettier-config": "2.0.0",
4545
"@commencis/stylelint-config": "2.3.0",

pnpm-lock.yaml

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

src/api/services/Auth.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { makeRequest } from '@/lib';
22

3-
import { AuthLoginRequest } from '@/api/models/AuthLoginRequest';
4-
import { AuthLoginResponse } from '@/api/models/AuthLoginResponse';
3+
import type { AuthLoginRequest } from '@/api/models/AuthLoginRequest';
4+
import type { AuthLoginResponse } from '@/api/models/AuthLoginResponse';
55

66
const ACCESS_TOKEN_KEY = 'accessToken';
77

src/app/[locale]/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ReactElement, ReactNode } from 'react';
1+
import type { ReactElement, ReactNode } from 'react';
22
import { notFound } from 'next/navigation';
33
import { hasLocale, NextIntlClientProvider } from 'next-intl';
44

src/app/[locale]/page.tsx

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

4-
import { useConfig } from '@/hooks';
5-
64
import { Button, Icon, Text } from '@/components/common';
75

6+
import { useConfig } from '@/hooks';
7+
88
const HomePage = (): ReactElement => {
99
const t = useTranslations();
1010

src/app/global-error.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use client';
22

3-
import { ReactElement } from 'react';
3+
import type { ReactElement } from 'react';
44

55
import { DEFAULT_LOCALE } from '@/constants';
66

src/app/not-found.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use client';
22

3-
import { ReactElement } from 'react';
3+
import type { ReactElement } from 'react';
44

55
import { DEFAULT_LOCALE } from '@/constants';
66

src/components/common/Button/Button.tsx

Lines changed: 4 additions & 5 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

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

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

src/components/common/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/common/Icon/Icon.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
'use client';
22

3-
import { ReactElement, useMemo } from 'react';
3+
import type { ReactElement } from 'react';
4+
import { useMemo } from 'react';
45
import dynamic from 'next/dynamic';
56

67
import type {

0 commit comments

Comments
 (0)