diff --git a/packages/eslint-config-airbnb-base/rules/flat/imports.js b/packages/eslint-config-airbnb-base/rules/flat/imports.js index 3185a4cfd1..72fc502a6f 100644 --- a/packages/eslint-config-airbnb-base/rules/flat/imports.js +++ b/packages/eslint-config-airbnb-base/rules/flat/imports.js @@ -1,8 +1,12 @@ const importPlugin = require('eslint-plugin-import'); +const globals = require('globals'); const imports = require('../imports'); module.exports = { languageOptions: { + globals: { + ...globals.es2015, + }, parserOptions: imports.parserOptions, }, plugins: {