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

## About this PR 📦 Updates [io.get-coursier:coursier](https://github.com/coursier/coursier) from `2.1.13` to `2.1.14` 📜 [GitHub Release Notes](https://github.com/coursier/coursier/releases/tag/v2.1.14) - [Version Diff](https://github.com/coursier/coursier/compare/v2.1.13...v2.1.14) ## Usage ✅ **Please merge!** I'll automatically update this PR to resolve...

## About this PR 📦 Updates [com.github.sbt:sbt-ci-release](https://github.com/sbt/sbt-ci-release) from `1.6.1` to `1.8.0` 📜 [GitHub Release Notes](https://github.com/sbt/sbt-ci-release/releases/tag/v1.8.0) - [Version Diff](https://github.com/sbt/sbt-ci-release/compare/v1.6.1...v1.8.0) ## Usage ✅ **Please merge!** I'll automatically update this PR to resolve...

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

Take the following example file: ```scala class Test { def foo = 1 /* scalafix:ok */ } ``` Suppose that the `/* scalafix:ok */` is unneeded, i.e. it is not...

bug
core

I have discovered that sometimes, suppression comments suppress more than they are (ostensibly) intended to suppress. Consider the following simple scalafix rule that simply disallows the use of the name...

bug
core

After the update to v0.13.0, when running scalafix, we have a lot of compilation errors with the following message: ``` error: `}` expected but `

bug
upstream

Here is the [PR in context](https://github.com/mdedetrich/pekko-streams-circe/pull/12) and here is the specific `.scalafix` configuration https://github.com/mdedetrich/pekko-streams-circe/pull/12/files#diff-8fe42aaf3e5d1a3f8804efa64a6206f5af6a826dea8f6ce51ad0ce8105188858R1-R32 My current expectation of that configuration is that `java`/`scala` imports go to the bottom of the...

enhancement
OrganizeImports

Bumps [VirtusLab/scala-cli-setup](https://github.com/virtuslab/scala-cli-setup) from 1.5.0 to 1.5.1. Release notes Sourced from VirtusLab/scala-cli-setup's releases. v1.5.1 What's Changed Bump @​types/node from 22.5.0 to 22.5.1 by @​dependabot in VirtusLab/scala-cli-setup#593 Bump @​types/node from 22.5.1 to...

dependencies

Keep building for Scala 3.5 until the next minor version for backward compatibility. - [ ] prepare PR to remove Scala 3.5 support ahead of scalafix 0.14.0

Requires - [x] https://github.com/coursier/jvm-index/pull/270 - [x] https://github.com/scalacenter/scalafix/pull/2052