Page MenuHomePhabricator

Add Scalastyle linter
Needs ReviewPublic

Authored by onur.cakmak on Sep 23 2015, 5:09 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, May 7, 9:09 AM
Unknown Object (File)
Sat, May 4, 2:58 PM
Unknown Object (File)
Fri, May 3, 8:49 AM
Unknown Object (File)
Thu, May 2, 6:35 PM
Unknown Object (File)
Mon, Apr 29, 8:05 AM
Unknown Object (File)
Sun, Apr 28, 9:16 PM
Unknown Object (File)
Sun, Apr 28, 2:28 PM
Unknown Object (File)
Thu, Apr 25, 4:10 AM

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