745be977ef
* fix(lint): clean up the eslint config * Fix code style issues with ESLint * fix the linter errors that arose from using the proper config * clean up the rebass text renames * fix if statement, use the config * use the same name prefix for both steps * `TextPreset` -> `ThemedText` Co-authored-by: Lint Action <lint-action@samuelmeuli.com>
57 lines
853 B
TypeScript
57 lines
853 B
TypeScript
const linguiConfig = {
|
|
catalogs: [
|
|
{
|
|
path: '<rootDir>/src/locales/{locale}',
|
|
include: ['<rootDir>/src'],
|
|
},
|
|
],
|
|
compileNamespace: 'cjs',
|
|
fallbackLocales: {
|
|
default: 'en-US',
|
|
},
|
|
format: 'po',
|
|
formatOptions: {
|
|
lineNumbers: false,
|
|
},
|
|
locales: [
|
|
'af-ZA',
|
|
'ar-SA',
|
|
'ca-ES',
|
|
'cs-CZ',
|
|
'da-DK',
|
|
'de-DE',
|
|
'el-GR',
|
|
'en-US',
|
|
'es-ES',
|
|
'fi-FI',
|
|
'fr-FR',
|
|
'he-IL',
|
|
'hu-HU',
|
|
'id-ID',
|
|
'it-IT',
|
|
'ja-JP',
|
|
'ko-KR',
|
|
'nl-NL',
|
|
'no-NO',
|
|
'pl-PL',
|
|
'pt-BR',
|
|
'pt-PT',
|
|
'ro-RO',
|
|
'ru-RU',
|
|
'sr-SP',
|
|
'sv-SE',
|
|
'sw-TZ',
|
|
'tr-TR',
|
|
'uk-UA',
|
|
'vi-VN',
|
|
'zh-CN',
|
|
'zh-TW',
|
|
],
|
|
orderBy: 'messageId',
|
|
rootDir: '.',
|
|
runtimeConfigModule: ['@lingui/core', 'i18n'],
|
|
sourceLocale: 'en-US',
|
|
}
|
|
|
|
export default linguiConfig
|