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

Exposed by https://github.com/bjaglin/scalafix-rules/actions/runs/8108465163/job/22161731871 ``` [error] /home/runner/work/scalafix-rules/scalafix-rules/rules/src/main/scala/fix/RemoveSamePackageImport.scala:12:22: Implicit method XtensionCollectionLikeUI was found in a package prefix of the required type, which is not part of the implicit scope in Scala 3....

scala3
core

- [x] https://github.com/scala/scala3/pull/20315 To be tested by https://github.com/scalacenter/scalafix/pull/1926 To bring to metals via a follow up of https://github.com/scalameta/metals/pull/6371

Companion for https://github.com/scalacenter/sbt-scalafix/pull/412

Follows https://github.com/scalacenter/scalafix/pull/1952, now that https://github.com/scalameta/scalameta/issues/3689 is fixed

Just opening it up here so that I don't forget, but it seems when `#!/usr/bin/env -S scala-cli shebang` is added scalafix doesn't sort imports. I will take a look at...

bug
core

https://github.com/scalacenter/scalafix/issues/1937

When using scala-cli, from the root of my sbt project, as mentioned in the documentation: ``` cs launch ch.epfl.scala:scalafix-cli_2.12.19:0.12.0+5-49b95fc4-SNAPSHOT -r sonatype:snapshots --main scalafix.cli.Cli -- --check ``` I get the following...

documentation
enhancement
cli

Despite the presence of `-Wunused:params` and the explicit mention of it in https://github.com/lampepfl/dotty/pull/16157, I did not manage to get diagnostics (nor warnings) for unused parameters with scala 3.4.0-RC2, so the...

bug
RemoveUnused
scala3

I totally understand that the old constant-inlining in **Scala 2** has some problems, and that **Scala 3** `inline` is better. I also, agree that a `final val` inside an `object`...

enhancement
DisableSyntax

## About this PR 📦 Updates [org.scalameta:scalameta](https://github.com/scalameta/scalameta) from `4.9.3` to `4.9.5` 📜 [GitHub Release Notes](https://github.com/scalameta/scalameta/releases/tag/v4.9.5) - [Version Diff](https://github.com/scalameta/scalameta/compare/v4.9.3...v4.9.5) ## Usage ✅ **Please merge!** I'll automatically update this PR to resolve...