Update readme for opt call support in no-unused-expressions [skip ci] (babel/eslint-plugin-babel#160)

This commit is contained in:
Brian Ng 2018-09-05 09:41:55 -05:00
parent d03a00c1a4
commit f70f68e44a

View File

@ -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/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/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/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 #### Deprecated