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

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

Open
wants to merge 34 commits into
base: master
Choose a base branch
from

Conversation

giabao
Copy link

@giabao giabao commented Feb 13, 2020

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
Copy link

hzwaal commented May 6, 2020

+1

@felipebonezi
Copy link

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

@felipebonezi
Copy link

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

@ajsquared
Copy link
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.

None yet

4 participants