ghostbuster91 / scalafix-unified

5 stars 2 forks source link

Use `.atomic` #8

Closed LaurenceWarne closed 1 year ago

LaurenceWarne commented 1 year ago

Hi! This PR makes the EmptyCollectionsUnified rule mark its patches as atomic using .atomic (where applicable) which makes the rule respect supressions, and is also used by the scalafix api to group patches.

Thanks!

ghostbuster91 commented 1 year ago

Nice, I didn't know about the .atomic. Thanks!