Skip to content

Commit

Permalink
update eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
meodai committed Dec 24, 2024
1 parent 80641dd commit 382a850
Show file tree
Hide file tree
Showing 6 changed files with 295 additions and 3,376 deletions.
17 changes: 0 additions & 17 deletions .eslintrc.cjs

This file was deleted.

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

const compat = new FlatCompat({
baseDirectory: import.meta.url,
});

export default [
{
languageOptions: {
ecmaVersion: "latest",
sourceType: "module",
globals: {
...globals.browser,
...globals.node,
},
},
rules: {
"import/prefer-default-export": "off",
"import/extensions": "off",
"no-console": "off",
},
},
];
Loading

0 comments on commit 382a850

Please sign in to comment.