From f70f68e44a61a6a0e832158d3020d9918e622ae2 Mon Sep 17 00:00:00 2001 From: Brian Ng Date: Wed, 5 Sep 2018 09:41:55 -0500 Subject: [PATCH] Update readme for opt call support in no-unused-expressions [skip ci] (babel/eslint-plugin-babel#160) --- eslint/babel-eslint-plugin/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eslint/babel-eslint-plugin/README.md b/eslint/babel-eslint-plugin/README.md index 70f6f833a5..da1dfe2208 100644 --- a/eslint/babel-eslint-plugin/README.md +++ b/eslint/babel-eslint-plugin/README.md @@ -48,7 +48,7 @@ Each rule corresponds to a core `eslint` rule, and has the same options. - `babel/object-curly-spacing`: doesn't complain about `export x from "mod";` or `export * as x from "mod";` (🛠) - `babel/quotes`: doesn't complain about JSX fragment shorthand syntax (`<>foo;`) - `babel/semi`: doesn't fail when using `for await (let something of {})`. Includes class properties (🛠) -- `babel/no-unused-expressions`: doesn't fail when using `do` expressions +- `babel/no-unused-expressions`: doesn't fail when using `do` expressions or [optional chaining](https://github.com/tc39/proposal-optional-chaining) (`a?.b()`). #### Deprecated