Closed fouadchamoun closed 4 years ago
btw, i'm using the library through violations-command-line
npm package
Do you have a sample xml?
there you go:
<?xml version="1.0" encoding="UTF-8"?>
<checkstyle version="5.0">
<file name="/home/fchamoun/work/data-analytics/databricks/apps/data-streaming/src/main/scala/com/work/spark/dynamoDb/utils/KafkaDataReader.scala">
<error source="org.scalastyle.file.NewLineAtEofChecker" severity="error" message="File must end with newline character"/>
</file>
</checkstyle>
released in 1.10 of violations-command-line
thank you very much @tomasbjerre !
Hi !
I'm having trouble parsing scalastyle (checkstyle) files as some of the errors don't have the "line" attribute. For example :
Could we make it optional like the "column" attribute ?
https://github.com/tomasbjerre/violations-lib/blob/28da15daf35478ca72256be269bee5804c5d2ed6/src/main/java/se/bjurr/violations/lib/parsers/CheckStyleParser.java#L35
Thank you 😃