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 { defineConfig } from "eslint/config";
|
||||
import js from "@eslint/js";
|
||||
|
||||
export default [
|
||||
export default defineConfig([
|
||||
js.configs.recommended,
|
||||
{
|
||||
languageOptions: {
|
||||
@@ -99,4 +100,4 @@ export default [
|
||||
"no-console": 0,
|
||||
},
|
||||
},
|
||||
];
|
||||
]);
|
||||
|
||||
@@ -39,6 +39,7 @@
|
||||
"chai": "latest",
|
||||
"commander": "latest",
|
||||
"eslint": "latest",
|
||||
"@eslint/js": "latest",
|
||||
"fs-extra": "latest",
|
||||
"globals": "latest",
|
||||
"jsdom": "latest",
|
||||
|
||||
Reference in New Issue
Block a user