Skip to content

Commit 77d1c1b

Browse files
chore: rename cli rules (#1946)
1 parent d8863d0 commit 77d1c1b

24 files changed

+47
-47
lines changed

docs/changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ toc:
244244

245245
### Minor Changes
246246

247-
- Added Spot and Arazzo rules: `no-criteria-xpath`, `no-actions-type-end`, `criteria-unique`.
247+
- Added Respect and Arazzo rules: `no-criteria-xpath`, `no-actions-type-end`, `criteria-unique`.
248248

249249
### Patch Changes
250250

docs/guides/lint-arazzo.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ extends:
8282

8383
arazzoRules:
8484
sourceDescription-name-unique: warn
85-
spot-supported-versions: error
85+
respect-supported-versions: error
8686
```
8787
8888
The configuration shown here gives some good entry-level linting using the `minimal` standard, and adds checks that we're using a supported version of Arazzo, and warns if each source description doesn't have a unique name.

docs/rules/built-in-rules.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ Other rules such as the `spec` and `info.*` rules also apply to AsyncAPI.
115115

116116
## Arazzo rules
117117

118-
Within the Arazzo family of rules, there are rules for the main Arazzo specification format, and some additional rules for extensions supported by Spot, the Redocly testing utility.
118+
Within the Arazzo family of rules, there are rules for the main Arazzo specification format, and some additional rules for extensions supported by Respect, the Redocly testing utility.
119119

120120
### Arazzo
121121

@@ -131,12 +131,12 @@ Within the Arazzo family of rules, there are rules for the main Arazzo specifica
131131
- [workflowId-unique](./arazzo/workflowId-unique.md): the `workflowId` property must be unique across all workflows
132132
- [sourceDescriptions-not-empty](./arazzo/sourceDescriptions-not-empty.md): the `sourceDescriptions` must be defined and the list must have at least one entry.
133133

134-
### Spot [ deprecated ]
134+
### Respect [ deprecated ]
135135

136-
The below rules are being migrated to Spot:
136+
The below rules are being migrated to Respect:
137137

138-
- [no-criteria-xpath](./spot/no-criteria-xpath.md): the `xpath` type criteria is not supported by Spot.
139-
- [spot-supported-versions](./spot/spot-supported-versions.md): the `version` property must be one of the supported values.
138+
- [no-criteria-xpath](./respect/no-criteria-xpath.md): the `xpath` type criteria is not supported by Respect.
139+
- [respect-supported-versions](./respect/respect-supported-versions.md): the `version` property must be one of the supported values.
140140

141141
## Resources
142142

docs/rules/spot/spot-supported-versions.md renamed to docs/rules/respect/respect-supported-versions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# spot-supported-versions
1+
# respect-supported-versions
22

33
The `version` property must be one of the supported values.
44

docs/rules/ruleset-templates.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ rules:
229229
parameters-unique: off
230230
step-onSuccess-unique: off
231231
step-onFailure-unique: off
232-
spot-supported-versions: off
232+
respect-supported-versions: off
233233
requestBody-replacements-unique: off
234234
no-criteria-xpath: off
235235
no-actions-type-end: off
@@ -498,7 +498,7 @@ rules:
498498
parameters-unique: error
499499
step-onSuccess-unique: warn
500500
step-onFailure-unique: warn
501-
spot-supported-versions: off
501+
respect-supported-versions: off
502502
requestBody-replacements-unique: warn
503503
no-criteria-xpath: off
504504
no-actions-type-end: warn

docs/rules/spec-ruleset.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ All the rules are of severity `error`:
1010
- [struct](./arazzo/struct.md)
1111
- [criteria-unique](./arazzo/criteria-unique.md)
1212
- [sourceDescription-type](./arazzo/sourceDescriptions-type.md)
13-
- [spot-supported-versions](./spot/spot-supported-versions.md)
13+
- [respect-supported-versions](./respect/respect-supported-versions.md)
1414
- [workflowId-unique](./arazzo/workflowId-unique.md)
1515
- [stepId-unique](./arazzo/stepId-unique.md)
1616
- [sourceDescription-name-unique](./arazzo/sourceDescriptions-name-unique.md)
@@ -20,5 +20,5 @@ All the rules are of severity `error`:
2020
- [step-onSuccess-unique](./arazzo/step-onSuccess-unique.md)
2121
- [step-onFailure-unique](./arazzo/step-onFailure-unique.md)
2222
- [requestBody-replacements-unique](./arazzo/requestBody-replacements-unique.md)
23-
- [no-criteria-xpath](./spot/no-criteria-xpath.md)
23+
- [no-criteria-xpath](./respect/no-criteria-xpath.md)
2424
- [criteria-unique](./arazzo/criteria-unique.md)

docs/sidebars.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,8 @@
138138
- page: rules/async/channels-kebab-case.md
139139
- page: rules/async/no-channel-trailing-slash.md
140140
- separator: Arazzo
141-
- page: rules/spot/no-criteria-xpath.md
142-
- page: rules/spot/spot-supported-versions.md
141+
- page: rules/respect/no-criteria-xpath.md
142+
- page: rules/respect/respect-supported-versions.md
143143
- page: rules/arazzo/criteria-unique.md
144144
- page: rules/arazzo/parameters-unique.md
145145
- page: rules/arazzo/requestBody-replacements-unique.md

packages/core/CHANGELOG.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
### Patch Changes
3434

35-
- Added support for Arazzo version 1.0.1 in Spot validation rules.
35+
- Added support for Arazzo version 1.0.1 in Respect validation rules.
3636

3737
## 1.28.1
3838

@@ -73,13 +73,13 @@
7373

7474
### Patch Changes
7575

76-
- Updated Spot validation rules.
76+
- Updated Respect validation rules.
7777

7878
## 1.26.1
7979

8080
### Patch Changes
8181

82-
- Removed the `no-actions-type-end` Spot rule.
82+
- Removed the `no-actions-type-end` Respect rule.
8383
- Removed unused lodash.isequal dependency.
8484

8585
## 1.26.0
@@ -202,7 +202,7 @@
202202

203203
### Minor Changes
204204

205-
- Added Spot and Arazzo rules: `no-criteria-xpath`, `no-actions-type-end`, `criteria-unique`.
205+
- Added Respect and Arazzo rules: `no-criteria-xpath`, `no-actions-type-end`, `criteria-unique`.
206206

207207
### Patch Changes
208208

packages/core/src/config/__tests__/__snapshots__/config-resolvers.test.ts.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ exports[`resolveConfig should ignore minimal from the root and read local file 1
99
"no-criteria-xpath": "off",
1010
"parameters-unique": "error",
1111
"requestBody-replacements-unique": "warn",
12+
"respect-supported-versions": "off",
1213
"sourceDescription-name-unique": "error",
1314
"sourceDescription-type": "error",
1415
"sourceDescriptions-not-empty": "error",
15-
"spot-supported-versions": "off",
1616
"step-onFailure-unique": "warn",
1717
"step-onSuccess-unique": "warn",
1818
"stepId-unique": "error",
@@ -238,10 +238,10 @@ exports[`resolveStyleguideConfig should resolve extends with local file config w
238238
"no-criteria-xpath": "off",
239239
"parameters-unique": "error",
240240
"requestBody-replacements-unique": "warn",
241+
"respect-supported-versions": "off",
241242
"sourceDescription-name-unique": "error",
242243
"sourceDescription-type": "error",
243244
"sourceDescriptions-not-empty": "error",
244-
"spot-supported-versions": "off",
245245
"step-onFailure-unique": "warn",
246246
"step-onSuccess-unique": "warn",
247247
"stepId-unique": "error",

0 commit comments

Comments
 (0)