mirror of
https://github.com/novnc/noVNC.git
synced 2026-08-29 08:34:26 +08:00
Raise JavaScript version requirement
So that we can use await at module top level.
This commit is contained in:
+2
-2
@@ -5,11 +5,11 @@ export default [
|
||||
js.configs.recommended,
|
||||
{
|
||||
languageOptions: {
|
||||
ecmaVersion: 2020,
|
||||
ecmaVersion: 2022,
|
||||
sourceType: "module",
|
||||
globals: {
|
||||
...globals.browser,
|
||||
...globals.es2020,
|
||||
...globals.es2022,
|
||||
}
|
||||
},
|
||||
ignores: ["**/xtscancodes.js"],
|
||||
|
||||
Reference in New Issue
Block a user