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

fix(#28): warning severity instead of error for abstract-decoratee lint #29

Merged
merged 4 commits into from
Nov 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This Java package is a collection of "lints" (aka "checkers") for
formatting. This is about best practices and readiness of code
for successful compilation and execution.

We use this package as a dependency in the
We use this package as a dependency in the
[EO-to-Java compiler][eo]:

```xml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ SOFTWARE.
<xsl:value-of select="if (@line) then @line else '0'"/>
</xsl:attribute>
<xsl:attribute name="severity">
<xsl:text>error</xsl:text>
<xsl:text>warning</xsl:text>
</xsl:attribute>
<xsl:text>Abstract object can't be used as a decoratee</xsl:text>
<xsl:text>Abstract object shouldn't be used as a decoratee</xsl:text>
</xsl:element>
</xsl:for-each>
</defects>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
xsls:
- /org/eolang/lints/errors/abstract-decoratee.xsl
tests:
- /defects[count(defect[@severity='error'])=1]
- /defects[count(defect[@severity='warning'])=1]
- /defects/defect[@line='4']
eo: |
# This is the default 64+ symbols comment in front of abstract object.
Expand Down
Loading