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)
Mon, Mar 4, 6:14 PM
Unknown Object (File)
Feb 17 2024, 1:30 PM
Unknown Object (File)
Feb 16 2024, 7:45 PM
Unknown Object (File)
Feb 9 2024, 12:05 PM
Unknown Object (File)
Feb 3 2024, 6:38 AM
Unknown Object (File)
Jan 10 2024, 6:35 AM
Unknown Object (File)
Jan 3 2024, 3:44 AM
Unknown Object (File)
Dec 23 2023, 10:17 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