scalafix icon indicating copy to clipboard operation
scalafix copied to clipboard

Refactoring and linting tool for Scala

Results 141 scalafix issues
Sort by recently updated
recently updated
newest added
trafficstars

`RemoveUnused` and the `removeUnused` option for `OrganizedImports` don't seem to recognize the `-Ywarn-unused:imports` and similar options. I had these from `tpolecat`: ``` "-Ywarn-unused:implicits", // Warn if an implicit parameter is...

good first issue
enhancement
RemoveUnused

In order to test out the `ExplicitResultTypes` semantic rule with scalafix CLI like the [example in the docs](https://scalacenter.github.io/scalafix/docs/rules/ExplicitResultTypes.html), one currently has to include `scala-library` in the `--classpath` argument. ``` $...

good first issue
enhancement

Some options may cause scalafix to generate code that no longer compiles, e.g. In this document: https://scalacenter.github.io/scalafix/docs/rules/ExplicitResultTypes.html It is noted that: rewriteStructuralTypesToNamedSubclass: .... Beware that this option may produce code...

sbt
feature
scala3

Currently it's not possible to use rules defined in a SBT modules in other modules of the same multi-modules project *without publishing*, aka not possible to use inter-module dependencies (e.g....

documentation

> scalafix version 0.11.0 (built in OrganizeImports) Relative imports are still reordered even if using `importsOrder = Keep`. Having this config: ```hocon rules = [ OrganizeImports ] OrganizeImports { removeUnused...

feature
OrganizeImports

Originally opened by @mdedetrich in https://github.com/liancheng/scalafix-organize-imports/issues/312 > Some projects that happen to have a very long fully qualified project name and they use nested imports to shorten boilerplate. A good...

up for debate
feature
OrganizeImports

Companion for https://github.com/scalacenter/sbt-scalafix/pull/380. As usual with docs, let's hold the merge until the next release.