Standard v16.0.1 Release Notes
Release Date: 2020-10-30 // over 3 years ago-
- โ Introduce "warning" system for disruptive rules (read more below)
- ๐ Change rule to a "warning": Require let or const instead of var (no-var) #633
standard
treats all rule violations as errors, which means thatstandard
will exit with a non-zero (error) exit code.๐ However, we may occasionally release a new major version of
standard
which changes a rule that affects the majority ofstandard
users (for example, transitioning fromvar
tolet
/const
). We do this only when we think the advantage is worth the cost and only when the rule is auto-fixable.In these situations, we have a "transition period" where the rule change is only โ a "warning". Warnings don't cause
standard
to return a non-zero (error) โ exit code. However, a warning message will still print to the console. During โก๏ธ the transition period,using standard --fix
will update your code so that it's ready for the next major version.The slow and careful approach is what we strive for with
standard
. We're generally extremely conservative in enforcing the usage of new language ๐ features. We want usingstandard
to be light and fun and so we're careful about making changes that may get in your way. As always, you can disable a rule at any time, if necessary.