Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/exoego/scalafix-rules
- Owner: exoego
- Created: 2020-09-08T08:04:50.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-07-19T01:11:34.000Z (over 1 year ago)
- Last Synced: 2024-11-01T13:11:34.124Z (2 months ago)
- Topics: scalafix, scalafix-rule
- Language: Scala
- Homepage:
- Size: 24.4 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
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
```