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: sublime-package.json
+24-6Lines changed: 24 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -73,6 +73,22 @@
73
73
"default": {},
74
74
"markdownDescription": "The eslint options object to provide args normally passed to eslint when executed from a command line (see http://eslint.org/docs/developer-guide/nodejs-api#cliengine)."
75
75
},
76
+
"probe": {
77
+
"type": "array",
78
+
"items": {
79
+
"type": "string"
80
+
},
81
+
"default": [
82
+
"javascript",
83
+
"javascriptreact",
84
+
"typescript",
85
+
"typescriptreact",
86
+
"html",
87
+
"vue",
88
+
"markdown"
89
+
],
90
+
"description": "An array of language ids for which the plugin should probe if support is installed."
91
+
},
76
92
"run": {
77
93
"type": "string",
78
94
"enum": [
@@ -202,13 +218,15 @@
202
218
}
203
219
},
204
220
"validate": {
205
-
"type": "string",
206
-
"enum": [
207
-
"off",
208
-
"on",
209
-
"probe"
221
+
"type": "array",
222
+
"items": {
223
+
"type": "string"
224
+
},
225
+
"default": [
226
+
"javascript",
227
+
"javascriptreact"
210
228
],
211
-
"description": "Whether validation is enabled."
229
+
"description": "An array of language ids which should be validated by ESLint. If not installed ESLint will show an error."
0 commit comments