fix locales versioning in backend client

This commit is contained in:
Hazelnoot 2024-10-15 21:32:03 -04:00
parent 9b06347882
commit 7431866d86
4 changed files with 27 additions and 57 deletions

View file

@ -1,5 +1,6 @@
import tsParser from '@typescript-eslint/parser';
import sharedConfig from '../shared/eslint.config.js';
import globals from 'globals';
export default [
...sharedConfig,
@ -43,4 +44,15 @@ export default [
}],
},
},
{
files: ['src/server/web/**/*.js', 'src/server/web/**/*.ts'],
languageOptions: {
globals: {
...globals.browser,
LANGS: true,
CLIENT_ENTRY: true,
LANGS_VERSION: true,
},
},
},
];