Open ftes opened 2 months ago
I think that's a really cool idea! I wouldn't mind that being documented in the docs (maybe by the open_browser
docs) or included in the library. I wonder... is there prior art here that we can lean on? Do other libraries create their own custom credo checks? (I can't recall using one from a library. Typically use the standard stuff + things we roll on our own).
The only other non-Credo
check I've used is excellent_migrations.
Can't think of any other prior art off the top of my head.
Could we document how to add a basic custom credo warning for
open_browser
? Or even add a ready-to-use check to this library?The following is my crude attempt, I'm sure it can be vastly improved: