-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy path.oxlintrc.json
More file actions
64 lines (64 loc) · 1.26 KB
/
Copy path.oxlintrc.json
File metadata and controls
64 lines (64 loc) · 1.26 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
{
"ignorePatterns": [
"**/dist/**",
"data/**",
"e2e/.scratch/**",
"e2e/test-results/**",
"e2e/playwright-report/**"
],
"categories": {
"correctness": "error",
"suspicious": "warn",
"perf": "warn"
},
"rules": {
"block-scoped-var": "off",
"no-await-in-loop": "off",
"no-cond-assign": "off",
"no-shadow": "off",
"no-restricted-imports": [
"error",
{
"paths": [
{
"name": "@github/copilot-sdk",
"message": "Import @github/copilot-sdk only from apps/server/src/harness/copilot-sdk/."
}
],
"patterns": [
{
"group": ["@github/copilot-sdk/*"],
"message": "Import @github/copilot-sdk only from apps/server/src/harness/copilot-sdk/."
}
]
}
],
"no-unused-expressions": [
"error",
{
"allowShortCircuit": true
}
],
"no-unused-vars": [
"warn",
{
"ignoreRestSiblings": true,
"argsIgnorePattern": "^_",
"caughtErrorsIgnorePattern": "^_",
"varsIgnorePattern": "^_"
}
],
"oxc/no-map-spread": "off",
"triple-slash-reference": "off",
"typescript/no-import-type-side-effects": "error",
"unicorn/no-array-sort": "off"
},
"overrides": [
{
"files": ["apps/server/src/harness/copilot-sdk/**"],
"rules": {
"no-restricted-imports": "off"
}
}
]
}