Skip to content

Commit

Permalink
fix eslint.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
MothScientist committed Jan 5, 2025
1 parent 6c58621 commit 385ce19
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
module.exports = {
env: {
browser: true,
es2021: true,
const { defineConfig } = require('eslint-define-config');

module.exports = defineConfig({
languageOptions: {
globals: {
browser: true,
},
},
extends: [
'eslint:recommended',
Expand All @@ -12,4 +15,4 @@ module.exports = {
},
rules: {
},
};
});

0 comments on commit 385ce19

Please sign in to comment.