Skip to content

Commit 4b1fcca

Browse files
authored
Beheer: zet spellcheck aan voor en-GB op het document (#344)
1 parent 6149e67 commit 4b1fcca

7 files changed

Lines changed: 106 additions & 61 deletions

File tree

‎js/config.mjs‎

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,17 @@ loadRespecWithConfiguration({
104104
specStatus: "WV",
105105
specType: "ST",
106106
pluralize: true,
107+
spellcheck: false,
107108

108-
preProcess: [initializeHighlightJSYaml, fetchLinterConfiguration],
109-
postProcess: [generateMermaidFigures, highlightLinterCode, (config, document, utils) => processRuleBlocks(config, document, utils, linterConfiguration)],
109+
preProcess: [
110+
initializeHighlightJSYaml,
111+
fetchLinterConfiguration,
112+
],
113+
postProcess: [
114+
generateMermaidFigures,
115+
highlightLinterCode,
116+
(config, document, utils) => processRuleBlocks(config, document, utils, linterConfiguration),
117+
],
110118

111119
localBiblio: {
112120
"ADR-encryption": {

‎linter/testcases/date-time/expected-output.txt‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11

22
/testcases/date-time/openapi.json
3-
94:55 error nlgov:date-time-ensure-timezone Use date-time format which includes a timezone paths./resources-with-time-incorrect.get.responses[200].content.application/json.schema.properties.date-time-local.format
3+
94:55 error nlgov:date-time-ensure-timezone Use date-time format which includes a time zone paths./resources-with-time-incorrect.get.responses[200].content.application/json.schema.properties.date-time-local.format
44
98:55 error nlgov:use-date-instead-of-datetime Field represents a date and therefore must set 'format' to 'date' paths./resources-with-time-incorrect.get.responses[200].content.application/json.schema.properties.date.format
55
102:55 error nlgov:use-date-instead-of-datetime Field represents a date and therefore must set 'format' to 'date' paths./resources-with-time-incorrect.get.responses[200].content.application/json.schema.properties.datum.format
66
106:55 error nlgov:use-date-instead-of-datetime Field represents a date and therefore must set 'format' to 'date' paths./resources-with-time-incorrect.get.responses[200].content.application/json.schema.properties.geboorteDatum.format
77
110:55 error nlgov:use-date-instead-of-datetime Field represents a date and therefore must set 'format' to 'date' paths./resources-with-time-incorrect.get.responses[200].content.application/json.schema.properties.birthDate.format
88
114:55 error nlgov:use-date-instead-of-datetime Field represents a date and therefore must set 'format' to 'date' paths./resources-with-time-incorrect.get.responses[200].content.application/json.schema.properties.expiration_date.format
99
118:55 error nlgov:use-date-instead-of-datetime Field represents a date and therefore must set 'format' to 'date' paths./resources-with-time-incorrect.get.responses[200].content.application/json.schema.properties.expiration_Date.format
10-
122:55 error nlgov:time-without-timezone Use time-local format without a timezone paths./resources-with-time-incorrect.get.responses[200].content.application/json.schema.properties.timestamp.format
10+
122:55 error nlgov:time-without-timezone Use time-local format without a time zone paths./resources-with-time-incorrect.get.responses[200].content.application/json.schema.properties.timestamp.format
1111
124:61 error nlgov:specify-format-for-date-and-time Any date field must set 'format' to 'date' paths./resources-with-time-incorrect.get.responses[200].content.application/json.schema.properties.missingFormatDate
1212
218:27 error nlgov:use-date-instead-of-datetime Field represents a date and therefore must set 'format' to 'date' components.schemas.LocalDateTimeIncorrect.format
1313

‎media/linter.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ rules:
236236
nlgov:date-time-ensure-timezone:
237237
severity: error
238238
given: $..properties[*].format
239-
message: "Use date-time format which includes a timezone"
239+
message: "Use date-time format which includes a time zone"
240240
then:
241241
function: pattern
242242
functionOptions:
@@ -245,7 +245,7 @@ rules:
245245
nlgov:time-without-timezone:
246246
severity: error
247247
given: $..properties[*].format
248-
message: "Use time-local format without a timezone"
248+
message: "Use time-local format without a time zone"
249249
then:
250250
function: pattern
251251
functionOptions:

‎publishers.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# publishers.yml This is a list of organizations and repositories to crawl.
1+
# publishers.yml This is a list of organisations and repositories to crawl.
22

33
---
44

0 commit comments

Comments
 (0)