1 parent 204f992 commit 3f7f413Copy full SHA for 3f7f413
1 file changed
eslint.config.js
@@ -0,0 +1,35 @@
1
+import js from "@eslint/js";
2
+
3
+export default [
4
+ js.configs.recommended,
5
+ {
6
+ languageOptions: {
7
+ ecmaVersion: "latest",
8
+ sourceType: "module",
9
+ globals: {
10
+ process: "readonly",
11
+ console: "readonly",
12
+ Buffer: "readonly",
13
+ __dirname: "readonly",
14
+ setTimeout: "readonly",
15
+ clearTimeout: "readonly",
16
+ fetch: "readonly",
17
+ URL: "readonly",
18
+ URLSearchParams: "readonly",
19
+ Headers: "readonly",
20
+ Request: "readonly",
21
+ Response: "readonly",
22
+ AbortController: "readonly",
23
+ TextEncoder: "readonly",
24
+ TextDecoder: "readonly",
25
+ structuredClone: "readonly",
26
+ },
27
28
+ rules: {
29
+ "no-unused-vars": ["warn", { argsIgnorePattern: "^_" }],
30
31
32
33
+ ignores: ["node_modules/**", "test/**"],
34
35
+];
0 commit comments