Skip to content

Commit cc5593b

Browse files
committed
fix: lint errors
1 parent 0f9a682 commit cc5593b

File tree

5 files changed

+467
-637
lines changed

5 files changed

+467
-637
lines changed

packages/vue-i18n-routing/src/compatibles/head.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import { getLocale, getLocales, getNormalizedLocales, warn } from '../utils'
77
import { getRouteBaseName, switchLocalePath, localeRoute } from './routing'
88
import { getI18nRoutingOptions } from './utils'
99

10-
import type { LocaleObject } from '../types'
1110
import type { I18nHeadOptions, I18nHeadMetaInfo, MetaAttrs, RoutingProxy } from './types'
11+
import type { LocaleObject } from '../types'
1212

1313
/**
1414
* Returns localized head properties for locale-related aspects.

packages/vue-i18n-routing/src/compatibles/routing.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import { getLocale, getLocaleRouteName, getRouteName } from '../utils'
77

88
import { getI18nRoutingOptions, resolve } from './utils'
99

10-
import type { Strategies, I18nRoutingOptions } from '../types'
1110
import type { RoutingProxy, PrefixableOptions, SwitchLocalePathIntercepter } from './types'
11+
import type { Strategies, I18nRoutingOptions } from '../types'
1212
import type { Locale } from '@intlify/vue-i18n-bridge'
1313
import type {
1414
Route,

packages/vue-i18n-routing/src/compatibles/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ import { getGlobalOptions } from '../extends/router'
1414

1515
import { DefaultPrefixable, DefaultSwitchLocalePathIntercepter } from './routing'
1616

17+
import type { RoutingProxy } from './types'
1718
import type { I18nRoutingGlobalOptions } from '../extends/router'
1819
import type { Strategies } from '../types'
19-
import type { RoutingProxy } from './types'
2020
import type { Locale } from '@intlify/vue-i18n-bridge'
2121
import type { VueRouter, Router } from '@intlify/vue-router-bridge'
2222

packages/vue-i18n-routing/src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export type I18nRoute = Route & RouteLegacy & { redirect?: string }
4444
*
4545
* @public
4646
*/
47-
export type Strategies = typeof STRATEGIES[keyof typeof STRATEGIES]
47+
export type Strategies = (typeof STRATEGIES)[keyof typeof STRATEGIES]
4848

4949
/**
5050
* Direction

0 commit comments

Comments
 (0)