-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
85 lines (85 loc) · 2.15 KB
/
package.json
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"name": "coc-oxc",
"version": "0.0.1",
"description": "Oxc extension for coc.nvim",
"author": "Boshen and oxc contributors",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/oxc-project/coc-oxc.git"
},
"main": "lib/index.js",
"files": ["lib/**"],
"keywords": ["coc.nvim"],
"engines": {
"coc": "^0.0.82"
},
"scripts": {
"watch": "node esbuild.mjs --watch",
"build": "node esbuild.mjs",
"lint": "oxlint --deny-warnings --import-plugin -D correctness -D perf",
"prepare": "node esbuild.mjs"
},
"devDependencies": {
"coc.nvim": "^0.0.83-next.18",
"esbuild": "^0.24.0",
"typescript": "^5.3.3",
"oxlint": "^0.15.0"
},
"activationEvents": [
"onLanguage:javascript",
"onLanguage:javascriptreact",
"onLanguage:typescript",
"onLanguage:typescriptreact",
"onLanguage:vue",
"onLanguage:svelte"
],
"contributes": {
"configuration": {
"type": "object",
"title": "oxc configuration",
"properties": {
"oxc.run": {
"scope": "resource",
"type": "string",
"enum": ["onSave", "onType"],
"default": "onType",
"description": "Run the linter on save (onSave) or on type (onType)"
},
"oxc.enable": {
"type": "boolean",
"default": true,
"description": "Enable oxc language server"
},
"oxc.configPath": {
"type": "string",
"scope": "window",
"default": ".eslintrc",
"description": "Path to ESlint configuration."
},
"oxc.binPath": {
"type": "string",
"default": "",
"description": "Path to the `oxc_language_server` binary"
}
}
},
"commands": [
{
"command": "oxc.restartServer",
"title": "Restart Oxc Server",
"category": "Oxc"
},
{
"command": "oxc.showOutputChannel",
"title": "Show Output Channel",
"category": "Oxc"
},
{
"command": "oxc.showTraceOutputChannel",
"title": "Show Trace Output Channel",
"category": "Oxc"
}
]
}
}