fix: eslint issue
parent
2a72cb1bb5
commit
829cbb0ae2
|
@ -51,7 +51,7 @@ export default {
|
|||
const importedTrads = await Promise.all(
|
||||
locales.map(async (locale) => {
|
||||
try {
|
||||
// eslint-disable-next-line import/no-dynamic-require
|
||||
// eslint-disable-next-line import/no-dynamic-require, global-require
|
||||
const data = require(`./translations/${locale}.json`);
|
||||
return {
|
||||
data: prefixPluginTranslations(data, pluginId),
|
||||
|
|
Loading…
Reference in New Issue