
Published under: Announcements
3 min read
We just pushed ESLint v5.3.0, which is a minor release upgrade of ESLint. This release adds some new features and fixes several bugs found in the previous release.
Four new rules have been added:
no-misleading-character-class
reports multi-code-point characters in regular expression character classes. Using these characters in character classes often results in surprising behavior.require-atomic-updates
reports potential race conditions that result from updating values in async or generator functions.no-async-promise-executor
reports uses of the Promise
constructor that have an async
function as the argument. Using an async
function in this scenario is not necessary and a potential source of bugs.require-unicode-regexp
requires all regular expressions to have the u
flag. Regular expressions with the u
flag have stricter parsing rules and handle unicode text more sensibly, which is useful to avoid unexpected behavior when writing regular expressions.baseConfig
option (#10657) (Teddy Katz)The latest ESLint news, case studies, tutorials, and resources.