scalafix
scalafix copied to clipboard
Refactoring and linting tool for Scala
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....
- [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...
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...
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...
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`...
## 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...