-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.cjs
46 lines (45 loc) · 1.02 KB
/
.eslintrc.cjs
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/* eslint-env node */
module.exports = {
extends: ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
parser: "@typescript-eslint/parser",
plugins: ["@typescript-eslint"],
root: true,
rules: {
semi: "off",
"@typescript-eslint/semi": "error",
},
ignorePatterns: [
"/public/xen/apps/**",
"/public/uv/**",
"/public/xen/web/*",
"/node_modules/**",
"/public/xen/js/core/FileSystem.arc.ts",
],
globals: {
window: true,
location: true,
document: true,
fetch: true,
self: true,
Response: true,
Request: true,
Headers: true,
Blob: true,
setTimeout: true,
setInterval: true,
console: true,
clients: true,
Proxy: true,
require: true,
module: true,
clearInterval: true,
clearTimeout: true,
atob: true,
btoa: true,
queueMicrotask: true,
navigator: true,
MessagePort: true,
MessageChannel: true,
URL: true,
},
};