Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I think if warnings can't do the job, you'd have to go the route of writing a test that greps the codebase for usages. Maybe a custom linter could also do the trick.

The ability to grandfather in existing violations, though, is something most build tools are likely to have trouble with.

Maybe another way to do it is to have warnings fail CI, but grep out the known offenders from stderr.

None of that sounds elegant to me, but it _is_ a shitlist.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: