You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "John Interrante (Jira)" <ji...@apache.org> on 2022/12/26 15:56:00 UTC
[jira] [Commented] (DAFFODIL-2133) Enable and configure sbt-scalariform/scalafmt plugin
[ https://issues.apache.org/jira/browse/DAFFODIL-2133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17652025#comment-17652025 ]
John Interrante commented on DAFFODIL-2133:
-------------------------------------------
See [Enable Scalafmt and format everything by ckipp01 · Pull Request #145 · com-lihaoyi/os-lib (github.com)|https://github.com/com-lihaoyi/os-lib/pull/145/files?diff=unified&w=1] to learn how os-lib, another project in the Scala ecosystem, just enabled scalafmt and reformatted its code.
> Enable and configure sbt-scalariform/scalafmt plugin
> ----------------------------------------------------
>
> Key: DAFFODIL-2133
> URL: https://issues.apache.org/jira/browse/DAFFODIL-2133
> Project: Daffodil
> Issue Type: Bug
> Components: Infrastructure
> Reporter: Steve Lawrence
> Priority: Minor
> Labels: beginner
>
> We should enable the [sbt-scalariform|https://github.com/sbt/sbt-scalariform] plugin to enable style checks to fail builds that do not meet style guidelines. This probably means fixing a bunch of code that doesn't follow the guidelines before we can actual turn it on in builds.
> The configuration of the plugin can also be used as guidance for how to configure IDE's that do autoformatting.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)