File tree Expand file tree Collapse file tree 2 files changed +23
-16
lines changed
Expand file tree Collapse file tree 2 files changed +23
-16
lines changed Original file line number Diff line number Diff line change 130130 " ambiguity-1" ,
131131 " ambiguous-syntax" ,
132132 " args-after-dots" ,
133+ " assign-const-global" ,
133134 " assign-type-mismatch" ,
134135 " await-in-sync" ,
135136 " block-after-else" ,
151152 " duplicate-index" ,
152153 " duplicate-set-field" ,
153154 " empty-block" ,
155+ " env-is-global" ,
154156 " err-assign-as-eq" ,
155157 " err-c-long-comment" ,
156158 " err-comment-prefix" ,
160162 " err-nonstandard-symbol" ,
161163 " err-then-as-do" ,
162164 " exp-in-action" ,
165+ " global-close-attribute" ,
163166 " global-element" ,
164167 " global-in-nil-env" ,
165168 " incomplete-signature-doc" ,
214217 " missing-parameter" ,
215218 " missing-return" ,
216219 " missing-return-value" ,
220+ " multi-close" ,
217221 " name-style-check" ,
218222 " need-check-nil" ,
219223 " need-paren" ,
243247 " undefined-global" ,
244248 " unexpect-dots" ,
245249 " unexpect-efunc-name" ,
250+ " unexpect-gfunc-name" ,
246251 " unexpect-lfunc-name" ,
247252 " unexpect-symbol" ,
248253 " unicode-name" ,
252257 " unknown-operator" ,
253258 " unknown-symbol" ,
254259 " unreachable-code" ,
260+ " unsupport-named-vararg" ,
255261 " unsupport-symbol" ,
256262 " unused-function" ,
257263 " unused-label" ,
258264 " unused-local" ,
259- " unused-vararg"
265+ " unused-vararg" ,
266+ " variable-not-declared"
260267 ],
261268 "type" : " string"
262269 },
263270 "markdownDescription" : " Disabled diagnostic (Use code in hover brackets)." ,
264271 "scope" : " resource" ,
265272 "type" : " array"
266273 },
267- "Lua.diagnostics.disableScheme" : {
274+ "Lua.diagnostics.enable" : {
275+ "default" : true ,
276+ "markdownDescription" : " Enable diagnostics." ,
277+ "scope" : " resource" ,
278+ "type" : " boolean"
279+ },
280+ "Lua.diagnostics.enableScheme" : {
268281 "default" : [
269- " git "
282+ " file "
270283 ],
271284 "items" : {
272285 "type" : " string"
273286 },
274- "markdownDescription" : " Do not diagnose Lua files that use the following scheme. " ,
287+ "markdownDescription" : " TODO: Needs documentation " ,
275288 "scope" : " resource" ,
276289 "type" : " array"
277290 },
278- "Lua.diagnostics.enable" : {
279- "default" : true ,
280- "markdownDescription" : " Enable diagnostics." ,
281- "scope" : " resource" ,
282- "type" : " boolean"
283- },
284291 "Lua.diagnostics.globals" : {
285292 "default" : [],
286293 "items" : {
Original file line number Diff line number Diff line change 90129012-- default = {}
90139013-- ```
90149014---@field disable string[]
9015- -- Do not diagnose Lua files that use the following scheme.
9016- --
9017- -- ```lua
9018- -- default = { "git" }
9019- -- ```
9020- ---@field disableScheme string[]
90219015-- Enable diagnostics.
90229016--
90239017-- ```lua
90249018-- default = true
90259019-- ```
90269020---@field enable boolean
9021+ -- TODO: Needs documentation
9022+ --
9023+ -- ```lua
9024+ -- default = { "file" }
9025+ -- ```
9026+ ---@field enableScheme string[]
90279027-- Defined global variables.
90289028--
90299029-- ```lua
You can’t perform that action at this time.
0 commit comments