fix globals key in frontend/embed eslint configs
This commit is contained in:
parent
36eac780c5
commit
0dfe7b41f3
2 changed files with 6 additions and 6 deletions
|
|
@ -117,10 +117,10 @@ export default [
|
||||||
'@types',
|
'@types',
|
||||||
'assets',
|
'assets',
|
||||||
],
|
],
|
||||||
globals: {
|
|
||||||
...globals.node,
|
|
||||||
},
|
|
||||||
languageOptions: {
|
languageOptions: {
|
||||||
|
globals: {
|
||||||
|
...globals.node,
|
||||||
|
},
|
||||||
parserOptions: {
|
parserOptions: {
|
||||||
parser: tsParser,
|
parser: tsParser,
|
||||||
project: ['tsconfig.scripts.json'],
|
project: ['tsconfig.scripts.json'],
|
||||||
|
|
|
||||||
|
|
@ -237,10 +237,10 @@ export default [
|
||||||
'@types',
|
'@types',
|
||||||
'assets',
|
'assets',
|
||||||
],
|
],
|
||||||
globals: {
|
|
||||||
...globals.node,
|
|
||||||
},
|
|
||||||
languageOptions: {
|
languageOptions: {
|
||||||
|
globals: {
|
||||||
|
...globals.node,
|
||||||
|
},
|
||||||
parserOptions: {
|
parserOptions: {
|
||||||
parser: tsParser,
|
parser: tsParser,
|
||||||
project: ['tsconfig.scripts.json'],
|
project: ['tsconfig.scripts.json'],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue