Skip to content

Commit 819220f

Browse files
authored
chore: version bump to address CVE scan issue (#110)
1 parent 2360ef6 commit 819220f

File tree

5 files changed

+1306
-4937
lines changed

5 files changed

+1306
-4937
lines changed

.eslintignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

.eslintrc.json

Lines changed: 0 additions & 13 deletions
This file was deleted.

eslint.config.mjs

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
import globals from "globals";
2+
import path from "node:path";
3+
import { fileURLToPath } from "node:url";
4+
import js from "@eslint/js";
5+
import { FlatCompat } from "@eslint/eslintrc";
6+
7+
const __filename = fileURLToPath(import.meta.url);
8+
const __dirname = path.dirname(__filename);
9+
const compat = new FlatCompat({
10+
baseDirectory: __dirname,
11+
recommendedConfig: js.configs.recommended,
12+
allConfig: js.configs.all,
13+
});
14+
15+
export default [
16+
{
17+
ignores: ["**/dist/"],
18+
},
19+
...compat.extends("eslint:recommended"),
20+
{
21+
languageOptions: {
22+
globals: {
23+
...globals.commonjs,
24+
...globals.jest,
25+
...globals.node,
26+
},
27+
28+
ecmaVersion: 2021,
29+
sourceType: "module",
30+
},
31+
32+
rules: {},
33+
},
34+
];

0 commit comments

Comments
 (0)