playframework/play-samples

Code fails to follow Scalas own reccomended Style guide.

jeremyjjbrown opened this issue · 1 comments

Scala style is documented plainly.

https://docs.scala-lang.org/style/declarations.html
https://docs.scala-lang.org/style/indentation.html#line-wrapping

Yet this examples project fails to follow it for some reason.

class RequestHandler @Inject()(webCommands: WebCommands,
                               optDevContext: OptionalDevContext,
                               router: Router,
                               errorHandler: HttpErrorHandler,
                               configuration: HttpConfiguration,
                               filters: HttpFilters)
    extends DefaultHttpRequestHandler(webCommands,
                                      optDevContext,
                                      router,
                                      errorHandler,
                                      configuration,
                                      filters) { 
...
mkurz commented

There is an open issue about formatting each sample project using scalafmt/javafmt: #118