diff --git a/editors/code/package.json b/editors/code/package.json index f687eb8d45..12d32cef72 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -181,6 +181,9 @@ }, "rust-analyzer.excludeGlobs": { "type": "array", + "items": { + "type": "string" + }, "default": [], "description": "Paths to exclude from analysis" }, @@ -196,6 +199,9 @@ }, "rust-analyzer.cargo-watch.arguments": { "type": "array", + "items": { + "type": "string" + }, "description": "`cargo-watch` arguments. (e.g: `--features=\"shumway,pdf\"` will run as `cargo watch -x \"check --features=\"shumway,pdf\"\"` )", "default": [] }, @@ -241,6 +247,7 @@ "rust-analyzer.maxInlayHintLength": { "type": "number", "default": 20, + "exclusiveMinimum": 0, "description": "Maximum length for inlay hints" }, "rust-analyzer.cargoFeatures.noDefaultFeatures": { @@ -255,6 +262,9 @@ }, "rust-analyzer.cargoFeatures.features": { "type": "array", + "items": { + "type": "string" + }, "default": [], "description": "List of features to activate" }