Skip to content

Commit cd7ceee

Browse files
authored
Merge pull request #20 from Commencis/renovate/commencis-eslint-config-1.x
chore(deps): update dependency @commencis/eslint-config to v1.4.3
2 parents fa29cf2 + 8e2c07c commit cd7ceee

File tree

13 files changed

+127
-53
lines changed

13 files changed

+127
-53
lines changed

.changeset/clean-years-float.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@commencis/starter-react-vite': patch
3+
---
4+
5+
comply new eslint rules

.changeset/ten-rats-mix.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@commencis/starter-react-vite': patch
3+
---
4+
5+
update dependency: @commencis/eslint-config@1.4.3

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.27.9",
5555
"@commencis/commitlint-config": "1.1.0",
56-
"@commencis/eslint-config": "1.4.0",
56+
"@commencis/eslint-config": "1.4.3",
5757
"@commencis/eslint-plugin": "1.1.2",
5858
"@commencis/prettier-config": "1.1.0",
5959
"@commencis/stylelint-config": "1.1.1",

pnpm-lock.yaml

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

src/App.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
import { ReactElement } from 'react';
2+
23
import { I18nextProvider } from 'react-i18next';
34
import { Provider as StoreProvider } from 'react-redux';
45
import { RouterProvider } from 'react-router-dom';
56

67
import { i18n } from '@/lib';
7-
import { ErrorBoundary, PreferencesProvider } from '@/providers';
88

99
import { router } from '@/router';
1010
import { store } from '@/store';
1111

1212
import { Loading } from '@/components/common';
13+
import { ErrorBoundary, PreferencesProvider } from '@/providers';
1314

1415
export default function App(): ReactElement {
1516
return (

src/components/ui/Icon/Icon.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ export function Icon({
1717
height = '32px',
1818
...props
1919
}: IconProps): ReactElement {
20-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
2120
const { ref: _, ...svgProps } = props;
2221
const IconComponent = useMemo(() => lazyLoadIcon(name), [name]);
2322

src/lib/http/http-client.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,10 @@ import axios, {
88
InternalAxiosRequestConfig,
99
} from 'axios';
1010

11+
import { getConfig } from '@/config';
1112
import { HEADER_KEY, HEADERS } from '@/constants';
1213
import { HttpHeader, HttpMethod } from '@/types';
1314

14-
import { getConfig } from '@/config';
15-
1615
const { baseApiUrl, isDevelopment } = getConfig();
1716

1817
export interface RequestConfig<D> {

src/lib/i18n/i18n.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
1-
import { initReactI18next } from 'react-i18next';
2-
31
import { createInstance, i18n as i18nType } from 'i18next';
42
import resourcesToBackend from 'i18next-resources-to-backend';
3+
import { initReactI18next } from 'react-i18next';
54

5+
import { getConfig } from '@/config';
66
import {
77
DEFAULT_LOCALE,
88
LOCALIZATION_NAMESPACES,
99
SUPPORTED_LOCALES,
1010
} from '@/constants';
1111
import { Locale, LocalizationNamespace } from '@/types';
1212

13-
import { getConfig } from '@/config';
14-
1513
export const createI18nInstance = async (): Promise<i18nType> => {
1614
const { isDevelopment } = getConfig();
1715

0 commit comments

Comments
 (0)