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 that standard 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 of standard users (for example, transitioning from var to let/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 using standard 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.