diff --git a/eslint.config.mjs b/eslint.config.mjs index 10a99ce1..4e4c7cd8 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -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, }, }, -]; +]); diff --git a/package.json b/package.json index 3e60b63e..25e0f593 100644 --- a/package.json +++ b/package.json @@ -39,6 +39,7 @@ "chai": "latest", "commander": "latest", "eslint": "latest", + "@eslint/js": "latest", "fs-extra": "latest", "globals": "latest", "jsdom": "latest",