-
-
Notifications
You must be signed in to change notification settings - Fork 153
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: new rule tag-line
; fixes #93
#727
Conversation
46e0112
to
630421d
Compare
What does |
There are tests for it |
Do you think it would be better if the always/never options is dropped, and that fee "count: 0" means no empty lines are allowed? |
The one reason I thought it may be ok, as is, is because we can have a sensible defaults for "always" which avoids the need for specifying a number in that case as with "never". But I'm ok with switching it if you think it should be changed. I've updated, btw, so the line number tests/fixes and added test should otherwise be ready for review. |
.README/rules/tag-lines.md
Outdated
|
||
##### `noEndLine` (defaults to `false`) | ||
|
||
Use with "always" to indicate tag lines should not be added at the end. |
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.
I don't understand this option. What is a tag line?
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.
Clarified to state:
Use with "always" to indicate the normal lines to be added after tags should
not be added after the final tag.
Also changed noEndLine
to noEndLines
as can be more than one between tags normally.
…to `code` rather than `whitespace`
🎉 This PR is included in version 34.4.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Includes a
always
vs.never
option as well as two special options foralways
(count
andnoEndLine
). Fixes #93.