mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-27 02:42:25 +08:00
style: enable import-x/no-duplicates (#6279)
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import type { i18n, Resource } from 'i18next';
|
||||
import i18next from 'i18next';
|
||||
import type { I18nextProviderProps } from 'react-i18next';
|
||||
import {
|
||||
I18nextProvider,
|
||||
type I18nextProviderProps,
|
||||
initReactI18next,
|
||||
Trans,
|
||||
useTranslation as useRootTranslation,
|
||||
|
||||
@@ -5,7 +5,8 @@ import * as path from 'node:path';
|
||||
import { format } from 'prettier';
|
||||
|
||||
import { getAllProjectLanguages, getRemoteTranslations } from './api.js';
|
||||
import { flattenTranslation, type TranslationRes } from './utils.js';
|
||||
import type { TranslationRes } from './utils.js';
|
||||
import { flattenTranslation } from './utils.js';
|
||||
|
||||
const INDENT = 2;
|
||||
const RES_DIR = path.resolve(process.cwd(), 'src', 'resources');
|
||||
|
||||
Reference in New Issue
Block a user