fix locales versioning in backend client
This commit is contained in:
parent
9b06347882
commit
7431866d86
4 changed files with 27 additions and 57 deletions
|
|
@ -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,
|
||||
},
|
||||
},
|
||||
},
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue