A scalastyle linter that we have been testing internally for some time.
The implementation doesn't depend on sbt or a wrapper script.
Details
Details
- Reviewers
joshuaspence epriestley - Group Reviewers
Blessed Reviewers - Required Signatures
L28 Phacility Individual Contributor License Agreement
Add a scalastyle linter with a configuration pointing to the scalastyle files and break a scalastyle rule.
Example configuration:
.arclint
{ "linters": { "scalastyle": { "type": "scalastyle", "scalastyle.config": "support/scalastyle/scalastyle-config.xml", "scalastyle.jar": "support/scalastyle/scalastyle_2.11-0.6.0-batch.jar", "include": "(\\.scala$)" } } }
Diff Detail
Diff Detail
- Repository
- rARC Arcanist
- Branch
- feature-scalastyle
- Lint
Lint Passed - Unit
Tests Passed - Build Status
Buildable 8029 Build 9088: [Placeholder Plan] Wait for 30 Seconds Build 9087: arc lint + arc unit
Event Timeline
Comment Actions
You will want to add some tests inside https://secure.phabricator.com/diffusion/ARC/browse/master/src/lint/linter/__tests__/ to ensure future changes don't break current functionality.