Skip to content

Commit

Permalink
chore: update eslint to v9 (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
UziTech authored Apr 11, 2024
1 parent 8e2b8d6 commit a36ccb3
Show file tree
Hide file tree
Showing 4 changed files with 128 additions and 219 deletions.
11 changes: 0 additions & 11 deletions .eslintrc.cjs

This file was deleted.

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

export default [
js.configs.recommended,
{
languageOptions: {
globals: {
...globals.node,
...globals.es2021,
},
parserOptions: {
ecmaVersion: "latest",
sourceType: "module",
},
},
},
];
Loading

0 comments on commit a36ccb3

Please sign in to comment.