mgechev / revive

🔥 ~6x faster, stricter, configurable, extensible, and beautiful drop-in replacement for golint
https://revive.run
MIT License
4.69k stars 273 forks source link

refactor: remove refs to io/ioutil #918

Closed ginglis13 closed 9 months ago

ginglis13 commented 9 months ago

io/ioutil has been deprecated since Go 1.16 https://pkg.go.dev/io/ioutil

Ignore unused error in os.WriteFile call - already set to be ignored in https://github.com/mgechev/revive/blob/8dbd58748ae8bc7d95a884fd8012c0c56c4efdff/test/unhandled-error_test.go#L18