Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/exoego/scalafix-rules

Some useful linter/autofix for Scala
https://github.com/exoego/scalafix-rules

scalafix scalafix-rule

Last synced: 24 days ago
JSON representation

Some useful linter/autofix for Scala

Awesome Lists containing this project

README

        

# 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](https://www.scala-lang.org/api/current/scala/collection/IterableOps.html#sizeIs:scala.collection.IterableOps.SizeCompareOps)

# Development

To develop rule:
```
sbt ~tests/test
```