-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy path.oxlintrc.json
More file actions
64 lines (64 loc) · 1.65 KB
/
Copy path.oxlintrc.json
File metadata and controls
64 lines (64 loc) · 1.65 KB
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"plugins": ["unicorn", "typescript", "oxc"],
"categories": {},
"rules": {
"no-undef": "error",
"no-unused-vars": "error",
"no-console": "off",
"no-constant-condition": "off",
"prefer-const": "off",
"typescript/no-explicit-any": "off",
"typescript/no-var-requires": "off",
"no-unused-expressions": "off",
"no-unreachable": "off",
"no-useless-catch": "off",
"unicorn/no-new-array": "off",
"unicorn/no-thenable": "off",
"typescript/no-this-alias": "off",
"no-async-promise-executor": "off",
"no-useless-escape": "off",
"no-unsafe-finally": "off",
"no-unassigned-vars": "off",
"no-unused-private-class-members": "off",
"no-loss-of-precision": "off",
"no-ex-assign": "off",
"no-eval": "off",
"no-dupe-keys": "off",
"unicorn/no-useless-spread": "off",
"unicorn/no-invalid-fetch-options": "off",
"oxc/const-comparisons": "off"
},
"settings": {
"jsdoc": {
"ignorePrivate": false,
"ignoreInternal": false,
"ignoreReplacesDocs": true,
"overrideReplacesDocs": true,
"augmentsExtendsReplacesDocs": false,
"implementsReplacesDocs": false,
"exemptDestructuredRootsFromChecks": false,
"tagNamePreference": {}
}
},
"env": {
"builtin": true,
"mocha": true,
"node": true,
"es2024": true
},
"globals": {
"Compartment": "readonly",
"server": "readonly",
"databases": "readonly",
"tables": "readonly",
"createBlob": "readonly",
"lockdown": "readonly",
"threads": "readonly",
"Resource": "readonly",
"headersTest": "readonly",
"logger": "readonly",
"Bun": "readonly"
},
"ignorePatterns": ["unitTests/security/jsLoader/fixtures"]
}