Skip to content

Commit 5a2fc98

Browse files
authored
Merge pull request #1315 from michaeltlombardi/maint/main/project-data-schema-update
(MAINT) Update schema for project data files
2 parents 990a0dc + 78f2207 commit 5a2fc98

File tree

2 files changed

+30
-19
lines changed

2 files changed

+30
-19
lines changed

.vscode/schemas/definitions.json

Lines changed: 26 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,16 @@
1919
"required": ["Name", "Kind"],
2020
"unevaluatedProperties": false,
2121
"properties": {
22-
"Name": { "$ref": "#/$defs/ProjectName" },
23-
"Kind": { "$ref": "#/$defs/ProjectKind" },
24-
"SupportedPlatformOS": { "$ref": "#/$defs/ProjectSupportedPlatformOS" },
25-
"IsRust": { "$ref": "#/$defs/ProjectIsRust" },
26-
"TestOnly": { "$ref": "#/$defs/ProjectTestOnly" },
27-
"SkipTest": { "$ref": "#/$defs/ProjectSkipTest" },
28-
"ClippyUnclean": { "$ref": "#/$defs/ProjectClippyUnclean" },
29-
"Binaries": { "$ref": "#/$defs/ProjectBinaries" },
30-
"CopyFiles": { "$ref": "#/$defs/ProjectCopyFiles" }
22+
"Name": { "$ref": "#/$defs/ProjectName" },
23+
"Kind": { "$ref": "#/$defs/ProjectKind" },
24+
"SupportedPlatformOS": { "$ref": "#/$defs/ProjectSupportedPlatformOS" },
25+
"IsRust": { "$ref": "#/$defs/ProjectIsRust" },
26+
"TestOnly": { "$ref": "#/$defs/ProjectTestOnly" },
27+
"SkipTest": { "$ref": "#/$defs/ProjectSkipTest" },
28+
"ClippyUnclean": { "$ref": "#/$defs/ProjectClippyUnclean" },
29+
"ClippyPedanticUnclean": { "$ref": "#/$defs/ProjectClippyPedanticUnclean" },
30+
"Binaries": { "$ref": "#/$defs/ProjectBinaries" },
31+
"CopyFiles": { "$ref": "#/$defs/ProjectCopyFiles" }
3132
},
3233
"allOf": [
3334
{
@@ -65,15 +66,16 @@
6566
"required": ["Name", "Kind"],
6667
"unevaluatedProperties": false,
6768
"properties": {
68-
"Name": { "$ref": "#/$defs/ProjectName" },
69-
"Kind": { "$ref": "#/$defs/ProjectKind" },
70-
"SupportedPlatformOS": { "$ref": "#/$defs/ProjectSupportedPlatformOS" },
71-
"IsRust": { "$ref": "#/$defs/ProjectIsRust" },
72-
"TestOnly": { "$ref": "#/$defs/ProjectTestOnly" },
73-
"SkipTest": { "$ref": "#/$defs/ProjectSkipTest" },
74-
"ClippyUnclean": { "$ref": "#/$defs/ProjectClippyUnclean" },
75-
"Binaries": { "$ref": "#/$defs/ProjectBinaries" },
76-
"CopyFiles": { "$ref": "#/$defs/ProjectCopyFiles" }
69+
"Name": { "$ref": "#/$defs/ProjectName" },
70+
"Kind": { "$ref": "#/$defs/ProjectKind" },
71+
"SupportedPlatformOS": { "$ref": "#/$defs/ProjectSupportedPlatformOS" },
72+
"IsRust": { "$ref": "#/$defs/ProjectIsRust" },
73+
"TestOnly": { "$ref": "#/$defs/ProjectTestOnly" },
74+
"SkipTest": { "$ref": "#/$defs/ProjectSkipTest" },
75+
"ClippyUnclean": { "$ref": "#/$defs/ProjectClippyUnclean" },
76+
"ClippyPedanticUnclean": { "$ref": "#/$defs/ProjectClippyPedanticUnclean" },
77+
"Binaries": { "$ref": "#/$defs/ProjectBinaries" },
78+
"CopyFiles": { "$ref": "#/$defs/ProjectCopyFiles" }
7779
}
7880
},
7981
"BuildPackageFiles": {
@@ -226,6 +228,12 @@
226228
"title": "Clippy Unclean",
227229
"markdownDescription": "Indicates whether to skip linting the Rust crate with Clippy."
228230
},
231+
"ProjectClippyPedanticUnclean": {
232+
"type": "boolean",
233+
"default": false,
234+
"title": "Clippy Pedantic Unclean",
235+
"markdownDescription": "Indicates whether to skip linting the pedantic rules for the Rust crate with Clippy."
236+
},
229237
"ProjectBinaries": {
230238
"type": "array",
231239
"title": "Project Binaries",

build.data.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,8 @@
181181
"RelativePath": "extensions/bicep",
182182
"CopyFiles": {
183183
"All": [
184-
"bicep.dsc.extension.json"
184+
"bicep.dsc.extension.json",
185+
"bicepparams.dsc.extension.json"
185186
]
186187
}
187188
},
@@ -190,6 +191,7 @@
190191
"Kind": "Grammar",
191192
"RelativePath": "grammars/tree-sitter-dscexpression",
192193
"IsRust": true,
194+
"ClippyPedanticUnclean": true,
193195
"ClippyUnclean": true,
194196
"SkipTest": {
195197
"Windows": true
@@ -200,6 +202,7 @@
200202
"Kind": "Grammar",
201203
"RelativePath": "grammars/tree-sitter-ssh-server-config",
202204
"IsRust": true,
205+
"ClippyPedanticUnclean": true,
203206
"ClippyUnclean": true
204207
},
205208
{

0 commit comments

Comments
 (0)