-
-
Notifications
You must be signed in to change notification settings - Fork 207
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(config): add rudimentary config syntax checks
This commit attempts to introduce miette to provide users with quick feedback when there may be syntax errors such as trailing commas in their komorebi.json configuration file. The lines and columns reported by serde_json don't actually line up with the visualization of where we want to indicate a syntax error on the miette Report. Some hackery has been done, but this should be improved upon. Notably, this hackery does not accurately reflect the location of a syntax error when the syntax error is a missing comma after a string value.
- Loading branch information
Showing
3 changed files
with
173 additions
and
5 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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