Skip to content

Some useful linter/autofix for Scala

Notifications You must be signed in to change notification settings

exoego/scalafix-rules

Repository files navigation

Scalafix-Rules

Some useful linters/autofix for Scala.

  • autofix
    • FinalCaseClass: Add final modifier to case classes to prevent being inherited by non-case class.
    • UseSizeIs: Rewrite seq.size <= n into seq.sizeIs <= n. See IterableOps#sizeIs

Development

To develop rule:

sbt ~tests/test

About

Some useful linter/autofix for Scala

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages