Skip to content
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(#49): package-without-tail lint #178

Merged
merged 2 commits into from
Dec 27, 2024
Merged

Conversation

h1alexbel
Copy link
Contributor

In this pull, I've introduced new lint: package-without-tail that issues critical defect if +package meta is used without a tail.

closes #49

@h1alexbel
Copy link
Contributor Author

@maxonfjvipon please check

<xsl:if test="/program/metas/meta[head = 'package' and tail = '']">
<xsl:element name="defect">
<xsl:attribute name="line">
<xsl:text>0</xsl:text>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@h1alexbel is there a way we can put a real line number where package meta is located? Please check this file at the line 151 we add line to meta. Let's use it?

@h1alexbel
Copy link
Contributor Author

@maxonfjvipon updated. Take a look, please

@h1alexbel
Copy link
Contributor Author

@yegor256 take a look, please

@yegor256 yegor256 merged commit e2e485e into objectionary:master Dec 27, 2024
12 checks passed
@yegor256
Copy link
Member

@h1alexbel thanks!

@h1alexbel h1alexbel deleted the 49 branch December 27, 2024 14:10
@0crat
Copy link

0crat commented Dec 28, 2024

@h1alexbel Thanks for the contribution! You've earned +4 points for this: +4 as a basis; +6 for the 123 hits-of-code that you wrote; -16 for the lack of code review; -4 for very few (4) comments; +14 to give you at least something. Please, keep them coming. Your running balance is +16.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

the tail of package can be empty
4 participants