-
-
Notifications
You must be signed in to change notification settings - Fork 240
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/validate-tags-uniqueness' into v…
…alidate-tags-uniqueness
- Loading branch information
Showing
50 changed files
with
828 additions
and
391 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
packages/cli/src/services/__tests__/__fixtures__/invalid-stoplight-info-document.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"info": { | ||
"title": "no stoplight :(" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 0 additions & 12 deletions
12
packages/core/src/ruleset/__tests__/__fixtures__/foo-extends-bar-ruleset.json
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
packages/core/src/ruleset/__tests__/__fixtures__/foo-ruleset.json
This file was deleted.
Oops, something went wrong.
22 changes: 0 additions & 22 deletions
22
packages/core/src/ruleset/__tests__/__fixtures__/invalid-ruleset.json
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
packages/core/src/ruleset/__tests__/__fixtures__/ruleset-with-merge-keys.yaml
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
packages/core/src/ruleset/__tests__/__fixtures__/ruleset-with-missing-functions.json
This file was deleted.
Oops, something went wrong.
15 changes: 15 additions & 0 deletions
15
packages/core/src/ruleset/__tests__/__fixtures__/severity/off-redeclared.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { RulesetDefinition } from '@stoplight/spectral-core'; | ||
import shared from './shared'; | ||
import { truthy } from '@stoplight/spectral-functions/src'; | ||
|
||
export default { | ||
extends: [[shared, 'off']], | ||
rules: { | ||
'overridable-rule': { | ||
given: '$.foo', | ||
then: { | ||
function: truthy, | ||
}, | ||
}, | ||
}, | ||
} as RulesetDefinition; |
10 changes: 0 additions & 10 deletions
10
packages/core/src/ruleset/__tests__/__fixtures__/valid-flat-ruleset-2.json
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
packages/core/src/ruleset/__tests__/__fixtures__/valid-flat-ruleset.json
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.