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)
Wed, Jan 1, 7:25 PM
Unknown Object (File)
Sat, Dec 28, 12:20 PM
Unknown Object (File)
Sat, Dec 28, 1:15 AM
Unknown Object (File)
Sun, Dec 15, 2:08 AM
Unknown Object (File)
Nov 30 2024, 11:05 AM
Unknown Object (File)
Nov 21 2024, 11:37 PM
Unknown Object (File)
Nov 21 2024, 6:50 PM
Unknown Object (File)
Nov 20 2024, 12:24 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 8029
Build 9088: [Placeholder Plan] Wait for 30 Seconds
Build 9087: arc lint + arc unit