mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-25 23:54:55 +01:00
Ignore lint error.
This commit is contained in:
parent
d1ac9fc9a6
commit
227eafd7b5
@ -41,12 +41,13 @@ export default class AppI18n {
|
||||
export type LocaleCode = 'en' | 'es' | 'fr' | 'de';
|
||||
|
||||
export const Locales = {
|
||||
EN: new Locale('en', 'English', require('./../../compiled-lang/en.json')),
|
||||
ES: new Locale('es', 'Español', require('./../../compiled-lang/es.json')),
|
||||
DE: new Locale('fr', 'Français', require('./../../compiled-lang/fr.json')),
|
||||
FR: new Locale('de', 'Deutsch', require('./../../compiled-lang/de.json')),
|
||||
EN: new Locale('en', 'English', require('./../../compiled-lang/en.json')), // eslint-disable-line
|
||||
ES: new Locale('es', 'Español', require('./../../compiled-lang/es.json')), // eslint-disable-line
|
||||
DE: new Locale('fr', 'Français', require('./../../compiled-lang/fr.json')), // eslint-disable-line
|
||||
FR: new Locale('de', 'Deutsch', require('./../../compiled-lang/de.json')), // eslint-disable-line
|
||||
};
|
||||
|
||||
|
||||
export const localeFromStr = (code: string): Locale => {
|
||||
const locales: Locale[] = Object.values(Locales);
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
"sourceMap": true,
|
||||
"noImplicitAny": false,
|
||||
"module": "commonjs",
|
||||
"target": "es5",
|
||||
"target": "es6",
|
||||
"jsx": "react",
|
||||
"allowJs": true,
|
||||
"esModuleInterop": true,
|
||||
|
Loading…
Reference in New Issue
Block a user