Skip to content

Commit 3084b3e

Browse files
rsg-botrenovate[bot]
authored andcommitted
Automatically linting code
1 parent d9fd8e8 commit 3084b3e

File tree

1 file changed

+36
-30
lines changed

1 file changed

+36
-30
lines changed

.nuke/build.schema.json

Lines changed: 36 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,5 @@
11
{
22
"$schema": "http://json-schema.org/draft-04/schema#",
3-
"properties": {
4-
"Artifacts": {
5-
"type": "string",
6-
"description": "The directory where artifacts are to be dropped"
7-
},
8-
"Configuration": {
9-
"type": "string",
10-
"description": "Configuration to build",
11-
"enum": [
12-
"Debug",
13-
"Release"
14-
]
15-
},
16-
"Coverage": {
17-
"type": "string",
18-
"description": "The directory where coverage artifacts are to be dropped"
19-
},
20-
"lint-files": {
21-
"type": "array",
22-
"description": "The files to lint, if not given lints all files",
23-
"items": {
24-
"type": "string"
25-
}
26-
},
27-
"Solution": {
28-
"type": "string",
29-
"description": "Path to a solution file that is automatically loaded"
30-
}
31-
},
323
"definitions": {
334
"Host": {
345
"type": "string",
@@ -154,5 +125,40 @@
154125
}
155126
}
156127
},
157-
"$ref": "#/definitions/NukeBuild"
128+
"allOf": [
129+
{
130+
"properties": {
131+
"Artifacts": {
132+
"type": "string",
133+
"description": "The directory where artifacts are to be dropped"
134+
},
135+
"Configuration": {
136+
"type": "string",
137+
"description": "Configuration to build",
138+
"enum": [
139+
"Debug",
140+
"Release"
141+
]
142+
},
143+
"Coverage": {
144+
"type": "string",
145+
"description": "The directory where coverage artifacts are to be dropped"
146+
},
147+
"lint-files": {
148+
"type": "array",
149+
"description": "The files to lint, if not given lints all files",
150+
"items": {
151+
"type": "string"
152+
}
153+
},
154+
"Solution": {
155+
"type": "string",
156+
"description": "Path to a solution file that is automatically loaded"
157+
}
158+
}
159+
},
160+
{
161+
"$ref": "#/definitions/NukeBuild"
162+
}
163+
]
158164
}

0 commit comments

Comments
 (0)