Skip to content

Commit

Permalink
chore: version bump to address CVE scan issue (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
dkphm authored Nov 27, 2024
1 parent 2360ef6 commit 819220f
Show file tree
Hide file tree
Showing 5 changed files with 1,306 additions and 4,937 deletions.
1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

13 changes: 0 additions & 13 deletions .eslintrc.json

This file was deleted.

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

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const compat = new FlatCompat({
baseDirectory: __dirname,
recommendedConfig: js.configs.recommended,
allConfig: js.configs.all,
});

export default [
{
ignores: ["**/dist/"],
},
...compat.extends("eslint:recommended"),
{
languageOptions: {
globals: {
...globals.commonjs,
...globals.jest,
...globals.node,
},

ecmaVersion: 2021,
sourceType: "module",
},

rules: {},
},
];
Loading

0 comments on commit 819220f

Please sign in to comment.