Skip to content

Commit

Permalink
Update ESLint and use new config format
Browse files Browse the repository at this point in the history
Closes #117.
  • Loading branch information
domenic committed Aug 2, 2024
1 parent 617923e commit 07339cc
Show file tree
Hide file tree
Showing 4 changed files with 345 additions and 350 deletions.
10 changes: 0 additions & 10 deletions .eslintrc.json

This file was deleted.

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

export default [
{
files: ["**/*.js"],
languageOptions: {
sourceType: "commonjs",
globals: globals.node
}
},
...domenicConfig,
{
rules: {
"no-console": "off"
}
}
];
Loading

0 comments on commit 07339cc

Please sign in to comment.