mirror of
https://github.com/novnc/noVNC.git
synced 2026-05-26 07:08:06 +00:00
Adapt to latest version of eslint
This commit is contained in:
@@ -1,7 +1,8 @@
|
|||||||
import globals from "globals";
|
import globals from "globals";
|
||||||
|
import { defineConfig } from "eslint/config";
|
||||||
import js from "@eslint/js";
|
import js from "@eslint/js";
|
||||||
|
|
||||||
export default [
|
export default defineConfig([
|
||||||
js.configs.recommended,
|
js.configs.recommended,
|
||||||
{
|
{
|
||||||
languageOptions: {
|
languageOptions: {
|
||||||
@@ -99,4 +100,4 @@ export default [
|
|||||||
"no-console": 0,
|
"no-console": 0,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
];
|
]);
|
||||||
|
|||||||
@@ -39,6 +39,7 @@
|
|||||||
"chai": "latest",
|
"chai": "latest",
|
||||||
"commander": "latest",
|
"commander": "latest",
|
||||||
"eslint": "latest",
|
"eslint": "latest",
|
||||||
|
"@eslint/js": "latest",
|
||||||
"fs-extra": "latest",
|
"fs-extra": "latest",
|
||||||
"globals": "latest",
|
"globals": "latest",
|
||||||
"jsdom": "latest",
|
"jsdom": "latest",
|
||||||
|
|||||||
Reference in New Issue
Block a user