Page MenuHomePhabricator

Add Scalastyle linter
Needs ReviewPublic

Authored by onur.cakmak on Sep 23 2015, 5:09 PM.
Tags
None
Referenced Files
F19087165: D14145.diff
Dec 2 2025, 11:56 PM
F18886382: D14145.id.diff
Nov 7 2025, 4:21 AM
F18863837: D14145.id34179.diff
Nov 3 2025, 1:28 AM
F18843508: D14145.id34179.diff
Oct 28 2025, 10:46 PM
F18810960: D14145.id34197.diff
Oct 20 2025, 12:16 AM
F18506493: D14145.id.diff
Sep 5 2025, 1:32 AM
F18499105: D14145.diff
Sep 4 2025, 7:24 PM
F18470240: D14145.diff
Sep 2 2025, 5:42 PM

Details

Summary

A scalastyle linter that we have been testing internally for some time.
The implementation doesn't depend on sbt or a wrapper script.

Test Plan

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

Repository
rARC Arcanist
Branch
feature-scalastyle
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 8039
Build 9110: [Placeholder Plan] Wait for 30 Seconds
Build 9109: arc lint + arc unit