Skip to content

Commit

Permalink
Fix problem with es6 by updating eslint configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
AshurovG committed Sep 26, 2024
1 parent 7c5c655 commit e94b6b1
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,22 @@ 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: {
...globals.browser,
Handlebars: 'readonly',
},
},
files: ['webpack.config.js'],
env: {
node: true,
},
},
pluginJs.configs.recommended,
eslintConfigPrettier,
Expand Down

0 comments on commit e94b6b1

Please sign in to comment.