eslint-plugin-improve-code
Version:
created in order to add rule: when arrow func one line breaks, convert it to return style
36 lines (18 loc) • 653 B
Markdown
# when arrow func one line breaks, convert it to return style (arrow-body-style-improved)
Please describe the origin of the rule here.
## Rule Details
This rule aims to...
Examples of **incorrect** code for this rule:
```js
// fill me in
```
Examples of **correct** code for this rule:
```js
// fill me in
```
### Options
If there are any options, describe them here. Otherwise, delete this section.
## When Not To Use It
Give a short description of when it would be appropriate to turn off this rule.
## Further Reading
If there are other links that describe the issue this rule addresses, please include them here in a bulleted list.