raboof commented on PR #1717:
URL: https://github.com/apache/pekko/pull/1717#issuecomment-2591959519

   Looks like since scalafmt 3.8.4, the AvoidInfix rule will also [change 
`postfixOps` `5 seconds` to 
`5.seconds`](https://github.com/scalameta/scalafmt/pull/4519/files#diff-66bf44e528f0a9096de9d4c9f0e75b8277b099b071eff24c6261ef1747a4569cL333)
   
   We can exclude that with `rewrite.avoidInfix.excludePostfix = true` in the 
scalafmt config.
   
   '5 seconds' looks slightly nicer, but it's also a bit unusual. I'd be OK 
with writing `5.seconds` from now on. WDYT?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org
For additional commands, e-mail: notifications-h...@pekko.apache.org

Reply via email to