Hi,
The recent and exciting changes of warning handling got me thinking: https://forum.rescript-lang.org/t/move-forward-with-warn-as-error-by-default
- Which warnings are enabled by default?
- Which warnings are seen as best practice to be enabled in the ocaml world?
- Should the set of enabled warnings by default be changed in the light of them being errors now?
- Would it be a good idea to introduce some kind of “warning presets” additionally / instead of listing separate warning numbers to dis-/enable in bsconfig. Meaning to not list warning numbers but just write “all” / “default” / “none”. The obvious tradeoff being another “abstraction layer” and difference to ocaml vs usability for newcomers.
I’d like to hear thoughts of others.