Skip to content

update checkstyle, add more settings, don't call sys.exit & more#33

Open
giabao wants to merge 34 commits into
etsy:masterfrom
giabao:pr
Open

update checkstyle, add more settings, don't call sys.exit & more#33
giabao wants to merge 34 commits into
etsy:masterfrom
giabao:pr

Conversation

@giabao

@giabao giabao commented Feb 13, 2020

Copy link
Copy Markdown

See the updated README.md

+ sbt 1.3.8
+ use scalafmt
+ scalatest 3.1.0
+ checkstyle 8.29
+ change name from `sbt-checkstyle-plugin` to `sbt-checkstyle`
+ use sbt-bintray instead of sbt-sonatype
  (If use sbt-sonatype to publish then I can't download sbt-checkstyle's
   `-sources.jar` in Intellij in project using sbt-checkstyle plugin)
…tyleSeverityLevel.value` and Don't call `sys.exit` when `checkstyle.value > 0`
…nfig-classpath sbt-test

```
com.puppycrawl.tools.checkstyle.api.CheckstyleException: cannot initialize module TreeWalker - TreeWalker is not allowed as a parent of LineLength Please review 'Parent Module' section for this Check in web documentation if Check is standard.
	at com.puppycrawl.tools.checkstyle.Checker.setupChild(Checker.java:473)
```
+ change back checkstyleSeverityLevel default value to None
+ fail the build when checkstyleSeverityLevel.isDefined & checkstyle found issues has severity > checkstyleSeverityLevel
+ fail the build when checkstyleHeaderFile is set to non existed file
+ remove logPrefix
@hzwaal

hzwaal commented May 6, 2020

Copy link
Copy Markdown

+1

@felipebonezi

Copy link
Copy Markdown

+1
Hey guys, this updates are important to us.

@felipebonezi

Copy link
Copy Markdown

@ajsquared hey, could you provide any feedback about this PR?

@ajsquared

Copy link
Copy Markdown
Contributor

I no longer work at Etsy so I don't maintain this anymore. I'm not sure who is.

@nixsticks do you know?

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.

4 participants