Sort imports (#6009)

* Mark import sort/order/style rules as error

* npm run lint -- --fix
This commit is contained in:
dan
2024-10-29 23:02:48 +00:00
committed by GitHub
parent 0ae64a1e0a
commit a22685c345
130 changed files with 373 additions and 342 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
import {test, expect} from '@jest/globals'
import {expect, test} from '@jest/globals'
import {sanitizeAppLanguageSetting} from '#/locale/helpers'
import {AppLanguage} from '#/locale/languages'
+1 -1
View File
@@ -2,7 +2,7 @@ import {AppBskyFeedDefs, AppBskyFeedPost} from '@atproto/api'
import * as bcp47Match from 'bcp-47-match'
import lande from 'lande'
import {hasProp} from 'lib/type-guards'
import {hasProp} from '#/lib/type-guards'
import {
AppLanguage,
LANGUAGES_MAP_CODE2,
+2 -1
View File
@@ -1,6 +1,7 @@
import React from 'react'
import {I18nProvider as DefaultI18nProvider} from '@lingui/react'
import {i18n} from '@lingui/core'
import {I18nProvider as DefaultI18nProvider} from '@lingui/react'
import {useLocaleLanguage} from './i18n'
export default function I18nProvider({children}: {children: React.ReactNode}) {