diff --git a/eslint.config.js b/eslint.config.js index ec4c68f97..b40ce7d9f 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -1,10 +1,14 @@ const js = require('@eslint/js'); +const globals = require('globals'); module.exports = [ js.configs.recommended, { files: ["**/*.js"], languageOptions: { + globals: { + ...globals.node, + }, ecmaVersion: 13, sourceType: "commonjs" },