In one of my projects, I am using sbt-tpolecat plugin to ensure recommended scalac flags are enabled including extra linting. My normal source code in src/main/scala
src/main/scala