From 00e2ea4fd3425a16ae51b99493d2abe2255e1862 Mon Sep 17 00:00:00 2001 From: Brice Jaglin Date: Sun, 29 Dec 2024 23:17:39 +0100 Subject: [PATCH 1/3] add typelevel-scalafix --- docs/rules/community-rules.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/rules/community-rules.md b/docs/rules/community-rules.md index 626a94bd6..d1e6661b9 100644 --- a/docs/rules/community-rules.md +++ b/docs/rules/community-rules.md @@ -22,6 +22,7 @@ rewriting the code when possible. [xuwei-k/scalafix-rules](https://github.com/xuwei-k/scalafix-rules) | `com.github.xuwei-k::scalafix-rules` | Avoid ambiguous or redundant Scala syntax & features [pixiv/scalafix-pixiv-rule](https://github.com/pixiv/scalafix-pixiv-rule) | `net.pixiv::scalafix-pixiv-rule` | Redundant Scala code rewriting and anti-pattern warnings [dedis/scapegoat-scalafix](https://github.com/dedis/scapegoat-scalafix) | `io.github.dedis::scapegoat-scalafix` | Scalafix implementation of [Scapegoat](https://github.com/scapegoat-scala/scapegoat) linter for Scala 3 +[typelevel/typelevel-scalafix](https://github.com/typelevel/typelevel-scalafix) | `org.typelevel::typelevel-scalafix` | Set of rules to provide automated rewrites and linting for code which makes use of Typelevel libraries ## Migration rules From e954ba0de64979decc923c9f115154bfb7b42f25 Mon Sep 17 00:00:00 2001 From: Brice Jaglin Date: Fri, 10 Jan 2025 22:39:04 +0100 Subject: [PATCH 2/3] order community rules by github stars DESC --- docs/rules/community-rules.md | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/docs/rules/community-rules.md b/docs/rules/community-rules.md index d1e6661b9..e5ed1031f 100644 --- a/docs/rules/community-rules.md +++ b/docs/rules/community-rules.md @@ -16,13 +16,14 @@ rewriting the code when possible. | Repository | Artifact | Description | | - | - | - | -[ghostbuster91/scalafix-unified](https://github.com/ghostbuster91/scalafix-unified) | `io.github.ghostbuster91.scalafix-unified::unified` | Set of opinionated rules to unify your codebase -[jatcwang/scalafix-named-params](https://github.com/jatcwang/scalafix-named-params) | `com.github.jatcwang::scalafix-named-params` | Add named parameters for your constructor and method calls -[vovapolu/scaluzzi](https://github.com/vovapolu/scaluzzi) | `com.github.vovapolu::scaluzzi` | Ensure a subset of [scalazzi](http://yowconference.com.au/slides/yowwest2014/Morris-ParametricityTypesDocumentationCodeReadability.pdf) [xuwei-k/scalafix-rules](https://github.com/xuwei-k/scalafix-rules) | `com.github.xuwei-k::scalafix-rules` | Avoid ambiguous or redundant Scala syntax & features +[vovapolu/scaluzzi](https://github.com/vovapolu/scaluzzi) | `com.github.vovapolu::scaluzzi` | Ensure a subset of [scalazzi](http://yowconference.com.au/slides/yowwest2014/Morris-ParametricityTypesDocumentationCodeReadability.pdf) +[typelevel/typelevel-scalafix](https://github.com/typelevel/typelevel-scalafix) | `org.typelevel::typelevel-scalafix` | Set of rules to provide automated rewrites and linting for code which makes use of Typelevel libraries +[jatcwang/scalafix-named-params](https://github.com/jatcwang/scalafix-named-params) | `com.github.jatcwang::scalafix-named-params` | Add named parameters for your constructor and method calls [pixiv/scalafix-pixiv-rule](https://github.com/pixiv/scalafix-pixiv-rule) | `net.pixiv::scalafix-pixiv-rule` | Redundant Scala code rewriting and anti-pattern warnings [dedis/scapegoat-scalafix](https://github.com/dedis/scapegoat-scalafix) | `io.github.dedis::scapegoat-scalafix` | Scalafix implementation of [Scapegoat](https://github.com/scapegoat-scala/scapegoat) linter for Scala 3 -[typelevel/typelevel-scalafix](https://github.com/typelevel/typelevel-scalafix) | `org.typelevel::typelevel-scalafix` | Set of rules to provide automated rewrites and linting for code which makes use of Typelevel libraries +[ghostbuster91/scalafix-unified](https://github.com/ghostbuster91/scalafix-unified) | `io.github.ghostbuster91.scalafix-unified::unified` | Set of opinionated rules to unify your codebase + ## Migration rules @@ -39,12 +40,12 @@ for the service. | Repository | Artifact | Description | | - | - | - | -[ohze/scala-rewrites](https://github.com/ohze/scala-rewrites) | `com.sandinh::scala-rewrites` | Rewrites for Scala -[OlegYch/enumeratum-scalafix](https://github.com/OlegYch/enumeratum-scalafix) | `io.github.olegych::enumeratum-scalafix` | Replace `scala.Enumeration` with enumeratum [scala/scala-collection-compat](https://github.com/scala/scala-collection-compat) | `org.scala-lang.modules::scala-collection-migrations` | Rewrite upgrades to the 2.13 collections [scala/scala-rewrites](https://github.com/scala/scala-rewrites) | `org.scala-lang::scala-rewrites` | Rewrites for Scala +[ohze/scala-rewrites](https://github.com/ohze/scala-rewrites) | `com.sandinh::scala-rewrites` | Rewrites for Scala [xuwei-k/play-ws-scalafix](https://github.com/xuwei-k/play-ws-scalafix) | `com.github.xuwei-k::play-ws-scalafix` | Migrate to play-ws-standalone [tersesystems/echopraxia-scalafix](https://github.com/tersesystems/echopraxia-scalafix) | `com.tersesystems.echopraxia::scalafix` | Rewrite [Echopraxia](https://github.com/tersesystems/echopraxia) logging statements +[OlegYch/enumeratum-scalafix](https://github.com/OlegYch/enumeratum-scalafix) | `io.github.olegych::enumeratum-scalafix` | Replace `scala.Enumeration` with enumeratum ## Code generation rules @@ -54,7 +55,7 @@ by taking a route similar, yet parallel to macros. | Repository | Artifact | Description | | - | - | - | [earldouglas/linear-scala](https://github.com/earldouglas/linear-scala) | `com.earldouglas::linear-scala-scalafix` | Add support for linear types in Scala -[hamnis/dataclass-scalafix](https://github.com/hamnis/dataclass-scalafix) | `net.hamnaberg::dataclass-scalafix` | [alexarchambault/data-class](https://github.com/alexarchambault/data-class) as a Scalafix rule -[rtimush/zio-magic-comments](https://github.com/rtimush/zio-magic-comments) | `com.timushev::zio-magic-comments` | Add explanatory graphs as comments to zio-magic methods -[sake92/kalem](https://github.com/sake92/kalem) | `ba.sake::kalem-rules` | Generate `with*` methods for classes [typelevel/simulacrum-scalafix](https://github.com/typelevel/simulacrum-scalafix) | `org.typelevel::simulacrum-scalafix-annotations` | Simulacrum as Scalafix rules +[rtimush/zio-magic-comments](https://github.com/rtimush/zio-magic-comments) | `com.timushev::zio-magic-comments` | Add explanatory graphs as comments to zio-magic methods +[hamnis/dataclass-scalafix](https://github.com/hamnis/dataclass-scalafix) | `net.hamnaberg::dataclass-scalafix` | [alexarchambault/data-class](https://github.com/alexarchambault/data-class) as a Scalafix rule +[sake92/kalem](https://github.com/sake92/kalem) | `ba.sake::kalem-rules` | Generate `with*` methods for classes \ No newline at end of file From dc13509e5f0f45e3d3bd4c5ab4b7273ca42d929d Mon Sep 17 00:00:00 2001 From: Brice Jaglin Date: Fri, 10 Jan 2025 22:59:37 +0100 Subject: [PATCH 3/3] reflect org rename --- docs/rules/community-rules.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/rules/community-rules.md b/docs/rules/community-rules.md index e5ed1031f..062126424 100644 --- a/docs/rules/community-rules.md +++ b/docs/rules/community-rules.md @@ -41,7 +41,7 @@ for the service. | Repository | Artifact | Description | | - | - | - | [scala/scala-collection-compat](https://github.com/scala/scala-collection-compat) | `org.scala-lang.modules::scala-collection-migrations` | Rewrite upgrades to the 2.13 collections -[scala/scala-rewrites](https://github.com/scala/scala-rewrites) | `org.scala-lang::scala-rewrites` | Rewrites for Scala +[lightbend-labs/scala-rewrites](https://github.com/lightbend-labs/scala-rewrites) | `org.scala-lang::scala-rewrites` | Rewrites for Scala [ohze/scala-rewrites](https://github.com/ohze/scala-rewrites) | `com.sandinh::scala-rewrites` | Rewrites for Scala [xuwei-k/play-ws-scalafix](https://github.com/xuwei-k/play-ws-scalafix) | `com.github.xuwei-k::play-ws-scalafix` | Migrate to play-ws-standalone [tersesystems/echopraxia-scalafix](https://github.com/tersesystems/echopraxia-scalafix) | `com.tersesystems.echopraxia::scalafix` | Rewrite [Echopraxia](https://github.com/tersesystems/echopraxia) logging statements