Highlights
Initial support for ECMAScript 2018
Because ECMAScript 2018 is still under development, we are implementing features as they are finalized. This release includes the following:
- Invalid escape sequences in tagged template literals
Enhancements
- 62911e4 Update: Add ImportDeclaration option to indent rule (#8955) (David Irvine)
- 7247b6c Update: handle indentation of custom destructuring syntax (fixes #8990) (#9027) (Teddy Katz)
- 3d020b9 Update: emit a warning for ecmaFeatures rather than throwing an error (#8974) (Teddy Katz)
Bug Fixes
- b3e4598 Fix: clarify AST and don’t use
node.start
/node.end
(fixes #8956) (#8984) (Toru Nagashima) - 78a85e0 Fix: no-extra-parens incorrectly reports async function expressions (#9035) (薛定谔的猫)
- c794f86 Fix: getter-return reporting method named ‘get’ (fixes #8919) (#9004) (薛定谔的猫)
- 5ab282f Fix: Print error message in bin/eslint.js (fixes #9011) (#9041) (Victor Hom)
- cdb82f2 Fix: padding-line-between-statements crash on semicolons after blocks (#8748) (Alexander Madyankin)
- 0f97279 Fix: refactor no-multi-spaces to avoid regex backtracking (fixes #9001) (#9008) (Teddy Katz)
- b74514d Fix: refactor RuleContext to not modify report locations (fixes #8980) (#8997) (Teddy Katz)
- 31d7fd2 Fix: inconsistent
indent
behavior on computed properties (fixes #8989) (#8999) (Teddy Katz) - 3393894 Fix: avoid reporting the entire AST for missing rules (#8998) (Teddy Katz)
- d2f8f9f Fix: include name of invalid config in validation messages (fixes #8963) (#8973) (Teddy Katz)
Documentation
- 5ae8458 Docs: fix typo in object-shorthand.md (#9066) (Jon Berry)
- c3d5b39 Docs: clarify options descriptions (fixes #8875) (#9060) (Brandon Mailhiot)
- 37158c5 Docs: clarified behavior of globalReturn option (fixes #8953) (#9058) (Brandon Mailhiot)
- c2f3553 Docs: Update example for MemberExpression option of indent (fixes #9056) (#9057) (Jeff)
- d0f78ec Docs: update rule deprecation policy (fixes #8635) (#9033) (Teddy Katz)
- 50e3cf3 Docs: Update sort-keys doc to define natural ordering (fixes #9043) (#9045) (Karan Sharma)
- 66c1d43 Docs: Create SUPPORT.md (#9031) (Teddy Katz)
Dependency Upgrades
- 89196fd Upgrade: Espree to 3.5.0 (#9074) (Gyandeep Singh)
- ad32697 Upgrade: js-yaml to 3.9.1 (refs #9011) (#9044) (Teddy Katz)
- 9b6c552 Upgrade: eslint-plugin-eslint-plugin@0.8.0 (#9012) (薛定谔的猫)
Chores
- de75f9b Chore: enable object-curly-newline & object-property-newline.(fixes #9042) (#9068) (薛定谔的猫)
- 7ecfe6a Chore: enable eslint-plugin/test-case-property-ordering (#9040) (薛定谔的猫)
- 3141872 Chore: remove unnecessary eslint-disable comments in codebase (#9032) (Teddy Katz)
- b3b95b8 Chore: enable additional rules on ESLint codebase (#9013) (Teddy Katz)
- acbe86a Chore: disallow .substr and .substring in favor of .slice (#9010) (Teddy Katz)
- d0536d6 Chore: Optimizes adding Linter methods (fixes #9000) (#9007) (Sean C Denison)
- 0a0401f Chore: fix spelling error. (#9003) (薛定谔的猫)
- c3ee46b Chore: fix misleading comment in RuleTester (#8995) (Teddy Katz)