Strict compilation

Enabling StrictPlugin in a project will turn all warnings fatal - a setting that has so far never led me astray.

Note that this is only true for the Compile scope:

Additionally, StrictPlugin enables wartremover with a safe set of rules - that is, rules that have never yielded a false positive on any project I’ve ran them on, and that do not catch symptoms I don’t think are problematic.


Other tutorials: