diff --git a/eslint.config.mjs b/eslint.config.mjs index 17aa35b..c1a93bd 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -3,6 +3,15 @@ import pluginJs from '@eslint/js'; import eslintConfigPrettier from 'eslint-config-prettier'; export default [ + { + files: ['webpack.config.js'], + env: { + node: true, + }, + globals: { + ...globals.node, + }, + }, { languageOptions: { globals: { @@ -10,10 +19,6 @@ export default [ Handlebars: 'readonly', }, }, - files: ['webpack.config.js'], - env: { - node: true, - }, }, pluginJs.configs.recommended, eslintConfigPrettier,