Standard v11.0.0 Release Notes

Release Date: 2018-02-18 // over 6 years ago
  • ๐Ÿš€ This release has no new rules, but it does update to the latest version of eslint, ๐Ÿ”– version 4, which has some significant changes to existing rules. Most updates make the indentation rules more strict.

    โšก๏ธ Thankfully, most users will just need to run standard --fix to update code to be compliant.

    ๐Ÿ†• New features

    • โšก๏ธ Update eslint from ~3.19.0 to ~4.18.0.

      • The indent rule is more strict.
      • The padded-blocks rule is more strict.
      • The space-before-function-paren rule is more strict.
      • The no-multi-spaces rule is more strict.
      • Minor improvements to:
      • no-extra-parens,
      • no-unexpected-multiline,
      • no-regex-spaces, and
      • space-unary-ops
    • โšก๏ธ Update eslint-plugin-import from ~2.2.0 to ~2.8.0

      • Updated for eslint 4.0 compatibility.
      • Various small bug fixes included related to import/* rules.
    • โšก๏ธ Update eslint-plugin-node from ~4.2.2 to ~6.0.0

      • The no-deprecated-api rule is updated with Node.js 8 support and improved Node 6 support.
    • ๐Ÿ‘• Upodate eslint-plugin-promise from ~3.5.0 to ~3.6.0.

    • โšก๏ธ Update eslint-plugin-react from ~6.10.0 to ~7.6.1

      • Fix jsx-indent crash
      • Fix jsx-indent indentation calculation with nested JSX.
      • Fix jsx-no-undef will not check the global scope by default.
      • Fix jsx-curly-spacing newline with object literals bug.
      • Fix jsx-curly-spacing schema incompatibility with ESLint 4.2.0.
      • Fix alignment bug in jsx-indent.

    ๐Ÿ”„ Changed rules

    • ๐Ÿš… Relax rule: Don't mark Rails Asset Pipeline comments (comments that start with //=) as errors. (spaced-comment) #918

    ๐Ÿ‘ Huge thanks to @Flet for putting together most of this ๐Ÿš€ release!