mirror of
https://github.com/airbnb/javascript.git
synced 2026-01-14 04:48:12 -05:00
Add semicolon in arrow functions section
This commit is contained in:
@@ -892,7 +892,7 @@ Other Style Guides
|
||||
const itemHeight = (item) => item.height > 256 ? item.largeSize : item.smallSize;
|
||||
|
||||
// good
|
||||
const itemHeight = (item) => { return item.height > 256 ? item.largeSize : item.smallSize; }
|
||||
const itemHeight = (item) => { return item.height > 256 ? item.largeSize : item.smallSize; };
|
||||
```
|
||||
|
||||
**[⬆ back to top](#table-of-contents)**
|
||||
|
||||
Reference in New Issue
Block a user