Unleashing Scalafix potential with custom rules by Brice JAGLIN

Поділитися
Вставка
  • Опубліковано 26 вер 2024
  • Talk's page 👉 scala.io/talks...
    Description:
    Scalafix is a mature tool which was started nearly 8 years ago by Ólafur Páll Geirsson at the Scala Center (www.scala-lang..., originally driven by the need to provide a smooth transition from Scala 2.x to Dotty (now known as Scala 3, which provides its own rewriting features).
    Beyond built-in rules execution to organize imports or remove unused code, Scalafix is very extensible thanks to its stable and beginner-friendly API to inspect Scala sources by traversing Scala Abstract Syntax Trees, raise linter errors and/or suggest rewrites to fix them. Like Scalafmt and the Metals language server, it heavily relies on the vibrant Scalameta ecosystem, allowing support of Scala 2.x and Scala 3.
    In this talk, we will demystify AST traversal and semantic information lookup to write custom rules and run them locally and/or on CI, through the sbt-scalafix plugin or via Scala Steward.

КОМЕНТАРІ • 2

  • @i-am-the-slime
    @i-am-the-slime 6 місяців тому

    Good old French tradition to SCREAM people's family names.