-
-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
allow dev comments to be enabled from cli, opt in #138
Conversation
@@ -70,6 +69,19 @@ Options: | |||
--skip-readme Do not attempt to process README.md files listed in Cargo.toml manifests. | |||
"#; | |||
|
|||
#[derive(Debug, Clone, Copy, Hash, PartialEq, Eq, Deserialize)] | |||
enum CheckerType { | |||
#[serde(alias = "hunspell")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#[serde(alias = "hunspell")] | |
#[serde(alias = "hunspell")] | |
#[serde(alias = "Hunspell")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's already named Hunspell
, so that is already covered iiu the serde docs correctly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Passing the bool dev_comments
around seems not too ergonomic, but it's the easiest way to integrate this fast and without too much refactoring 👍
I agree it's not pretty, especially having it in |
What does this PR accomplish?
Closes #132 .
Changes proposed by this PR:
A minor simplification attempt on cli args, and threads a
bool
to the places that need it.📜 Checklist
./demo
sub directory