-
Notifications
You must be signed in to change notification settings - Fork 264
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add schema info to diagnostics (#326)
* #310 Add schema info to diagnostics Signed-off-by: Yevhen Vydolob <[email protected]> * Show schema url if file has multiple schemas Signed-off-by: Yevhen Vydolob <[email protected]> * Fix k8s url Signed-off-by: Yevhen Vydolob <[email protected]> * Update test/schemaValidation.test.ts Co-authored-by: Josh Pinkney <[email protected]> * Remove commented code Signed-off-by: Yevhen Vydolob <[email protected]> * Set schema url and title to child schemas Signed-off-by: Yevhen Vydolob <[email protected]> Co-authored-by: Josh Pinkney <[email protected]>
- Loading branch information
Showing
9 changed files
with
276 additions
and
70 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
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,7 @@ export interface YAMLDocDiagnostic { | |
end: number; | ||
}; | ||
severity: 1 | 2; | ||
source?: string; | ||
} | ||
|
||
/** | ||
|
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
Oops, something went wrong.