
Published under: Release Notes
1 min read
We just pushed ESLint v3.10.0, which is a minor release upgrade of ESLint. This release adds a new feature and fixes several bugs found in the previous release.
This is a summary of some of the notable changes in this version of ESLint.
no-return-await, was added.no-extra-boolean-cast gained auto-fix functionality.eqeqeq can now be auto-fixed.comma-style to check function parameters, function arguments, imports, and destructuring.func-names gained a new option to recognize ES6 inferred names.func-names to recognize inferred ES6 names (fixes #7235) (#7244) (Logan Smyth)arrow-body-style fixer (#7504) (Teddy Katz)space-infix-ops (fixes #7525) (#7552) (Teddy Katz)no-restricted-{imports,modules}: add “patterns” (fixes #6963) (#7433) (Jordan Harband)brace-style false negative on multiline node (fixes #7493) (#7496) (Teddy Katz)ArrowFunctionExpression support to require-jsdoc rule (#7518) (Gyandeep Singh)lines-around-directive semicolon handling (fixes #7450) (#7483) (Teddy Katz)eqeqeq cases (#7389) (Teddy Katz)no-extra-boolean-cast (#7387) (Teddy Katz)object-shorthand autofix (fixes #7574) (#7575) (Teddy Katz)arrow-parens supports type annotations (fixes #7406) (#7436) (Toru Nagashima)curly false positive with no-semicolon style (#7509) (Teddy Katz)🌐 Documentation
func-name-matching: update with “always”/“never” option (#7536) (Jordan Harband)executeOnFiles (#7362) (Simen Bekkhus)object-shorthand tests more readable (#7580) (Teddy Katz)prefer-arrow-callback on ESLint codebase (fixes #6407) (#7503) (Teddy Katz)最新的 ESLint 新闻、案例研究、教程和资源。


