Skip to content

Commit

Permalink
update eslint config to work with v9
Browse files Browse the repository at this point in the history
  • Loading branch information
jfredrickson committed Apr 8, 2024
1 parent 6bc329a commit 27b49e9
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 1,053 deletions.
11 changes: 0 additions & 11 deletions .eslintrc

This file was deleted.

15 changes: 15 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
const js = require("@eslint/js");
const globals = require("globals");

module.exports = [
js.configs.recommended,
{
languageOptions: {
ecmaVersion: 2022,
sourceType: "module",
globals: {
...globals.browser,
},
},
},
];
Loading

0 comments on commit 27b49e9

Please sign in to comment.