Enable object-shorthand rule (#1500)

Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
This commit is contained in:
Panu Horsmalahti authored and GitHub committed 2020-11-24 13:16:35 +02:00
1 parent 2a8cfe5e67
commit ff93760dc4
42 files changed
+69 -66

No files matched your search

@@ -81,7 +81,7 @@ export class MenuActions extends React.Component<MenuActionsProps> {
...menuProps
} = this.props;
const menuClassName = cssNames("MenuActions flex", className, {
toolbar: toolbar,
toolbar,
gaps: toolbar, // add spacing for .flex
});
const autoClose = !toolbar;