Skip to content

Commit

Permalink
Merge pull request #318 from nschonni/eslint-9
Browse files Browse the repository at this point in the history
chore: Upgrade to ESLint 9
  • Loading branch information
tcort authored May 21, 2024
2 parents c51bc59 + b9a173a commit 4936908
Show file tree
Hide file tree
Showing 4 changed files with 244 additions and 282 deletions.
21 changes: 0 additions & 21 deletions .eslintrc.js

This file was deleted.

26 changes: 26 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import js from "@eslint/js";
import globals from "globals";

export default [
js.configs.recommended,
{
languageOptions: {
globals: {
...globals.node,
},
parserOptions: {
ecmaVersion: "latest",
moduleType: "commonjs"
},
},
},
{
files: ["test/*.js"],
languageOptions: {
globals: {
...globals.node,
...globals.mocha,
},
},
},
];
Loading

0 comments on commit 4936908

Please sign in to comment.