diff --git a/.vscode/schemas/definitions.json b/.vscode/schemas/definitions.json index 12d9a33b8..e7ce77e2f 100644 --- a/.vscode/schemas/definitions.json +++ b/.vscode/schemas/definitions.json @@ -19,15 +19,16 @@ "required": ["Name", "Kind"], "unevaluatedProperties": false, "properties": { - "Name": { "$ref": "#/$defs/ProjectName" }, - "Kind": { "$ref": "#/$defs/ProjectKind" }, - "SupportedPlatformOS": { "$ref": "#/$defs/ProjectSupportedPlatformOS" }, - "IsRust": { "$ref": "#/$defs/ProjectIsRust" }, - "TestOnly": { "$ref": "#/$defs/ProjectTestOnly" }, - "SkipTest": { "$ref": "#/$defs/ProjectSkipTest" }, - "ClippyUnclean": { "$ref": "#/$defs/ProjectClippyUnclean" }, - "Binaries": { "$ref": "#/$defs/ProjectBinaries" }, - "CopyFiles": { "$ref": "#/$defs/ProjectCopyFiles" } + "Name": { "$ref": "#/$defs/ProjectName" }, + "Kind": { "$ref": "#/$defs/ProjectKind" }, + "SupportedPlatformOS": { "$ref": "#/$defs/ProjectSupportedPlatformOS" }, + "IsRust": { "$ref": "#/$defs/ProjectIsRust" }, + "TestOnly": { "$ref": "#/$defs/ProjectTestOnly" }, + "SkipTest": { "$ref": "#/$defs/ProjectSkipTest" }, + "ClippyUnclean": { "$ref": "#/$defs/ProjectClippyUnclean" }, + "ClippyPedanticUnclean": { "$ref": "#/$defs/ProjectClippyPedanticUnclean" }, + "Binaries": { "$ref": "#/$defs/ProjectBinaries" }, + "CopyFiles": { "$ref": "#/$defs/ProjectCopyFiles" } }, "allOf": [ { @@ -65,15 +66,16 @@ "required": ["Name", "Kind"], "unevaluatedProperties": false, "properties": { - "Name": { "$ref": "#/$defs/ProjectName" }, - "Kind": { "$ref": "#/$defs/ProjectKind" }, - "SupportedPlatformOS": { "$ref": "#/$defs/ProjectSupportedPlatformOS" }, - "IsRust": { "$ref": "#/$defs/ProjectIsRust" }, - "TestOnly": { "$ref": "#/$defs/ProjectTestOnly" }, - "SkipTest": { "$ref": "#/$defs/ProjectSkipTest" }, - "ClippyUnclean": { "$ref": "#/$defs/ProjectClippyUnclean" }, - "Binaries": { "$ref": "#/$defs/ProjectBinaries" }, - "CopyFiles": { "$ref": "#/$defs/ProjectCopyFiles" } + "Name": { "$ref": "#/$defs/ProjectName" }, + "Kind": { "$ref": "#/$defs/ProjectKind" }, + "SupportedPlatformOS": { "$ref": "#/$defs/ProjectSupportedPlatformOS" }, + "IsRust": { "$ref": "#/$defs/ProjectIsRust" }, + "TestOnly": { "$ref": "#/$defs/ProjectTestOnly" }, + "SkipTest": { "$ref": "#/$defs/ProjectSkipTest" }, + "ClippyUnclean": { "$ref": "#/$defs/ProjectClippyUnclean" }, + "ClippyPedanticUnclean": { "$ref": "#/$defs/ProjectClippyPedanticUnclean" }, + "Binaries": { "$ref": "#/$defs/ProjectBinaries" }, + "CopyFiles": { "$ref": "#/$defs/ProjectCopyFiles" } } }, "BuildPackageFiles": { @@ -226,6 +228,12 @@ "title": "Clippy Unclean", "markdownDescription": "Indicates whether to skip linting the Rust crate with Clippy." }, + "ProjectClippyPedanticUnclean": { + "type": "boolean", + "default": false, + "title": "Clippy Pedantic Unclean", + "markdownDescription": "Indicates whether to skip linting the pedantic rules for the Rust crate with Clippy." + }, "ProjectBinaries": { "type": "array", "title": "Project Binaries", diff --git a/build.data.json b/build.data.json index a0942b9fc..fb17702db 100644 --- a/build.data.json +++ b/build.data.json @@ -181,7 +181,8 @@ "RelativePath": "extensions/bicep", "CopyFiles": { "All": [ - "bicep.dsc.extension.json" + "bicep.dsc.extension.json", + "bicepparams.dsc.extension.json" ] } }, @@ -190,6 +191,7 @@ "Kind": "Grammar", "RelativePath": "grammars/tree-sitter-dscexpression", "IsRust": true, + "ClippyPedanticUnclean": true, "ClippyUnclean": true, "SkipTest": { "Windows": true @@ -200,6 +202,7 @@ "Kind": "Grammar", "RelativePath": "grammars/tree-sitter-ssh-server-config", "IsRust": true, + "ClippyPedanticUnclean": true, "ClippyUnclean": true }, {