forked from tobloef/text2mindmap
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patheslint.config.mjs
More file actions
29 lines (28 loc) · 774 Bytes
/
Copy patheslint.config.mjs
File metadata and controls
29 lines (28 loc) · 774 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import js from "@eslint/js";
import globals from "globals";
export default [
js.configs.recommended,
{
languageOptions: {
ecmaVersion: 2022,
sourceType: "module",
globals: {
...globals.browser,
...globals.jquery,
...globals.node,
Kinetic: "readonly",
d3: "readonly",
__serverBase__: "readonly",
globals: "readonly",
confirm: "readonly",
alert: "readonly",
EventSource: "readonly",
},
},
rules: {
"no-unused-vars": "warn",
"no-undef": "error",
"no-constant-condition": "warn",
},
},
];