Skip to content

Use spotless to check the style of Scala code #98

@Chillax-0v0

Description

@Chillax-0v0

Currently, we are only performing style checks on Scala files under the 'streams' directory:

// build.gradle
spotless {
  scala {
    target 'streams/**/*.scala'
    scalafmt("$versions.scalafmt").configFile('checkstyle/.scalafmt.conf').scalaMajorVersion(versions.baseScala)
    licenseHeaderFile 'checkstyle/java.header', 'package'
  }
}

Once the project stabilizes, we can perform similar checks on the Scala files we have modified under the 'core' directory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions