scalastyle / scalastyle-sbt-plugin

scalastyle-sbt-plugin
Apache License 2.0
139 stars 52 forks source link

Format scalastyle-config.xml and fix travis-ci can't install jdk problem. #75

Closed counter2015 closed 3 years ago

counter2015 commented 4 years ago

Empty xml tag may cause warning like "XML tag has empty body" in IDEA.

image

Here format the Scalastyle standard configuration. (Including spaces and tabs) And collapse empty xml tag without parameters.

counter2015 commented 4 years ago

It seems cant install jdk when using previous travis-ci config.

See a travis-ci community thread about this here.

I have added the dist: trusty in .travis.yml.