Standard v15.0.0 Release Notes

Release Date: 2020-10-21 // over 3 years ago
  • We're super excited to announce standard 15!

    ๐Ÿš€ As with every new major release, there are lots of new rules in 15.0.0 designed ๐Ÿš€ to help catch bugs and make programmer intent more explicit. This release brings ๐Ÿ‘Œ support for ES 2021, the latest version of the ECMAScript specification, as well ๐Ÿ‘• as many quality-of-life improvements, including ESLint v7.

    โฌ†๏ธ When you upgrade, consider running standard --fix to automatically format your code to match the newly added rules.

    ๐Ÿš€ โค๏ธ If you enjoy StandardJS and want to support future releases, check out Feross's GitHub Sponsors page.

    ๐Ÿ†• New features

    • ๐Ÿ‘Œ Support ES 2021, the latest version of the ECMAScript specification, which includes support for logical assignment operators and numeric separators #1551
    • ๐ŸŒ Support ES 2020 features such as optional chaining, the nullish coalescing operator, export * as ns from 'source', and import.meta.
    • ๐Ÿ‘Œ Support global variables from ES 2017 (Atomics, SharedArrayBuffer), ES 2020 (BigInt, BigInt64Array, BigUint64Array, globalThis), and ES 2021 (FinalizationRegistry, WeakRef). #1436 #1557 eslint-config-standard/#156
    • ๐Ÿ“š The documentation is now available in Indonesian ๐Ÿ‡ฎ๐Ÿ‡ฉ! #1544
      • Thanks to @yoga1234 for the excellent work!
      • Other community contributed translations exist in Spanish, French, Italian, Japanese, Korean, Portuguese, Simplified Chinese, and Taiwanese Mandarin.
      • More translations are always welcome!

    ๐Ÿ”„ Changed features

    • ๐Ÿ’ฅ BREAKING: Node.js 8 is no longer supported
      • Node.js 8 is EOL and will no longer be receiving security updates.
      • To prevent breaking CI for projects which still support Node 8, standard silently passes when run by an unsupported version of Node
    • โšก๏ธ Update eslint from ~6.8.0 to ~7.11.0

    ๐Ÿ†• New rules

    โœ… (Estimated % of affected standard users, based on test suite in parens)

    ๐Ÿ”„ Changed rules

    • ๐Ÿ˜Œ Relax rule: Allow function declarations in nested blocks #1406
    • ๐Ÿ‘• Relax rule: Removed redundant no-negated-in-lhs rule, already enforced by no-unsafe-negation eslint-config-standard/#160