sbt-fix-root

SBT plugin that enhances scalafix & scalafmt duo

License

License

GroupId

GroupId

com.alejandrohdezma
ArtifactId

ArtifactId

sbt-fix-root_2.12
Last Version

Last Version

0.4.0
Release Date

Release Date

Type

Type

jar
Description

Description

sbt-fix-root
SBT plugin that enhances scalafix & scalafmt duo
Project URL

Project URL

https://github.com/alejandrohdezma/sbt-fix
Project Organization

Project Organization

Alejandro Hernández
Source Code Management

Source Code Management

https://github.com/alejandrohdezma/sbt-fix

Download sbt-fix-root_2.12

How to add to project

<!-- https://jarcasting.com/artifacts/com.alejandrohdezma/sbt-fix-root_2.12/ -->
<dependency>
    <groupId>com.alejandrohdezma</groupId>
    <artifactId>sbt-fix-root_2.12</artifactId>
    <version>0.4.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.alejandrohdezma/sbt-fix-root_2.12/
implementation 'com.alejandrohdezma:sbt-fix-root_2.12:0.4.0'
// https://jarcasting.com/artifacts/com.alejandrohdezma/sbt-fix-root_2.12/
implementation ("com.alejandrohdezma:sbt-fix-root_2.12:0.4.0")
'com.alejandrohdezma:sbt-fix-root_2.12:jar:0.4.0'
<dependency org="com.alejandrohdezma" name="sbt-fix-root_2.12" rev="0.4.0">
  <artifact name="sbt-fix-root_2.12" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.alejandrohdezma', module='sbt-fix-root_2.12', version='0.4.0')
)
libraryDependencies += "com.alejandrohdezma" % "sbt-fix-root_2.12" % "0.4.0"
[com.alejandrohdezma/sbt-fix-root_2.12 "0.4.0"]

Dependencies

compile (1)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.12.10

Project Modules

There are no modules declared in this project.

SBT plugin that enhances scalafix & scalafmt duo

This project no longer enables synchronizing configuration across repositories. To enable that functionality, please check alejandrohdezma/sbt-scalafix-defaults and alejandrohdezma/sbt-scalafmt-defaults.

If you want to provide your own organization's configuration you can use the previous repositories as templates and edit the .scalafix.conf and .scalafmt.conf at will.

Installation

Add the following line to your plugins.sbt file:

addSbtPlugin("com.alejandrohdezma" %% "sbt-fix" % "0.7.0")

Usage

This plugin adds a fix command to every project in the build.

This command can be used to launch both scalafmt and scalafix in all supported configurations.

fix

It can also be used for checking that all files have been fixed with both tools, exiting with non-zero code on violations, by appending the --check argument (which can be used in CI to check formatting easily).

fix --check

Versions

Version
0.4.0