tripleo-ui/src/__tests__/components/ui
Honza Pokorny 16514bf462 eslint: use as-needed for arrow-body-style
When a function that is introduced by an arrow, don't insert a return
statement and its required curly braces when not needed.

Bad:

    const f = () => {
        return 1;
    }

Good:

    const f = () => 1

This patch consists of a change to .eslintrc, and automatically fixed
files (via eslint --fix).

Change-Id: I6afc3f91ee2cc44ae149e482d5633876c85c3cff
2018-03-21 11:53:31 -03:00
..
tables eslint: use as-needed for arrow-body-style 2018-03-21 11:53:31 -03:00