-
Notifications
You must be signed in to change notification settings - Fork 10
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
feat(cli): make_rule!
macros
#404
Draft
elcoosp
wants to merge
25
commits into
KeisukeYamashita:main
Choose a base branch
from
elcoosp:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
2d55868
feat: add #[cfg_attr(feature = schemars, derive(schemars::JsonSchema)…
elcoosp 91dd7c9
feat: write json-schema/config.json in generate_json_schema
elcoosp dc6b00d
docs: broken link
elcoosp ba0ab05
chore: fmt
elcoosp dfbcda2
chore: add cspell words
elcoosp 16c7801
feat: add make_length_rule & make_rule macros to reduce boilerplate
elcoosp 5dbe770
feat: add make_format_rule & make_options_rule
elcoosp 13f6bde
feat: mig all rules to make_*_rule macro, sadly schemars 0.8 does not…
elcoosp 1fecf54
feat: use schemars v1 (alpha) to get the json schema descriptions out…
elcoosp f7f3ad3
test: use insta to assert_yaml_snapshot on config json schema
elcoosp 446d582
fix: lockfile
elcoosp b9aa496
feat: use paste to generate all rule structs doc attr, unfortunately …
elcoosp 5c09949
docs: doc macro rules
elcoosp 307ac78
chore: fmt
elcoosp a78b8fe
fix: make_length_rule & make_format_rule & make_options_rule generati…
elcoosp 7dd7651
feat: use patched paste to support :dash modifier
elcoosp 8ee0bf7
feat: add link to docs on all rules
elcoosp 82c66df
chore: cspell additions
elcoosp e2ea4c4
Merge branch 'main' of github.com:elcoosp/commitlint-rs into feat/mak…
elcoosp e6473f0
fix(schema): move schema snap test to workspace member
elcoosp 2ddc0f4
chore: fmt
elcoosp 41ced4f
Merge pull request #1 from elcoosp/feat/make-rule-macro
elcoosp 4bce28d
fix: double comment
elcoosp 114ea2c
chore: cspell duplicates
elcoosp 085543a
chore: run clippy
elcoosp File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Security & Maintenance Risk: Dependency on Forked Repository
Using a forked version of the
paste
crate introduces several risks:Consider:
paste
crate