You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/vscode-extension/package.json
+21-2Lines changed: 21 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -32,18 +32,37 @@
32
32
"contributes": {
33
33
"configuration": {
34
34
"type": "object",
35
-
"title": "rslint",
35
+
"title": "Rslint",
36
36
"properties": {
37
37
"rslint.enable": {
38
+
"order": 0,
38
39
"type": "boolean",
39
40
"default": true,
40
41
"description": "Enable/disable rslint"
41
42
},
42
43
"rslint.binPath": {
44
+
"order": 1,
43
45
"type": "string",
44
-
"description": "Path to rslint executable"
46
+
"enum": [
47
+
"local",
48
+
"built-in",
49
+
"custom"
50
+
],
51
+
"default": "local",
52
+
"markdownEnumDescriptions": [
53
+
"Use workspace node_modules Rslint binary (may have version incompatibility with extension)",
54
+
"Use extension's built-in Rslint binary (may differ from local @rslint/core diagnostics)",
55
+
"Customize the path to the Rslint binary, this is useful if you have a global installation of Rslint or if you want to use a specific version of Rslint"
56
+
],
57
+
"description": "Path to Rslint executable binary"
58
+
},
59
+
"rslint.customBinPath": {
60
+
"order": 2,
61
+
"type": "string",
62
+
"description": "Custom path to Rslint executable. Only used when `rslint.binPath` is set to `custom`. Requires reloading VS Code to take effect."
0 commit comments