fixed ecmaVersion for eslint
Signed-off-by: shanec <shane@scaffoe.com>
This commit is contained in:
parent
fcce4fd81e
commit
19b2fbc692
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ export default ts.config(
|
||||||
parser: tsEslintParser,
|
parser: tsEslintParser,
|
||||||
parserOptions: {
|
parserOptions: {
|
||||||
sourceType: 'module',
|
sourceType: 'module',
|
||||||
ecmaVersion: 2020
|
ecmaVersion: 2021,
|
||||||
},
|
},
|
||||||
globals: {
|
globals: {
|
||||||
...globals.browser,
|
...globals.browser,
|
||||||
|
|
Loading…
Reference in a new issue