diff --git a/configurations/mocha.js b/configurations/mocha.js index 24a3db7..c46a492 100644 --- a/configurations/mocha.js +++ b/configurations/mocha.js @@ -1,6 +1,8 @@ +const globals = require('globals'); + module.exports.recommended = { - env: { - mocha: true, + languageOptions: { + globals: globals.mocha, }, plugins: { mocha: require('eslint-plugin-mocha'),