aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com>2025-03-01 15:20:22 +0100
committerGitHub <[email protected]>2025-03-01 15:20:22 +0100
commit1db428ab97cfac80e55a7c371f9400c57459c40b (patch)
treecb23fae194e9574bc0ce420f4d3f1bb3e3cea9ad /scripts
parentb7e7714b8b22ee2809242c97043ee8c6ac72865f (diff)
downloadfaker-1db428ab97cfac80e55a7c371f9400c57459c40b.tar.xz
faker-1db428ab97cfac80e55a7c371f9400c57459c40b.zip
chore(deps): update eslint (major) (#3426)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: ST-DDT <[email protected]>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/generate-locales.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/generate-locales.ts b/scripts/generate-locales.ts
index b4bc2311..d73b4ef6 100644
--- a/scripts/generate-locales.ts
+++ b/scripts/generate-locales.ts
@@ -465,7 +465,7 @@ for (const locale of locales) {
localeIndexImports += `import { faker as ${localizedFaker} } from './${locale}';\n`;
localeIndexExportsIndividual += `export { faker as ${localizedFaker} } from './${locale}';\n`;
localeIndexExportsGrouped += ` ${locale}: ${localizedFaker},\n`;
- localesIndexImports += `import { default as ${locale} } from './${locale}';\n`;
+ localesIndexImports += `import ${locale} from './${locale}';\n`;
localesIndexExportsIndividual += `export { default as ${locale} } from './${locale}';\n`;
localesIndexExportsGrouped += ` ${locale},\n`;
localizationLocales += `| \`${locale}\` | ${localeTitle} | \`${localizedFaker}\` |\n`;