mirror of
https://github.com/mgechev/revive.git
synced 2025-11-25 22:12:38 +02:00
print and println built-in functions are not recommended for use-cases other than language boostraping and are not guaranteed to stay in the language. This commit adds a new rule, use-fmt-print, that spots uses of print and println, and recommends using their fmt equivalents.
2.4 KiB
2.4 KiB