tripleo-ui/src/js/components/parameters
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
..
EnvironmentParameters.js Parameters cleanup 2018-02-14 09:33:02 +01:00
ParameterInput.js Parameters cleanup 2018-02-14 09:33:02 +01:00
ParameterInputList.js eslint: use as-needed for arrow-body-style 2018-03-21 11:53:31 -03:00
Parameters.js eslint: use as-needed for arrow-body-style 2018-03-21 11:53:31 -03:00
ParametersForm.js eslint: use as-needed for arrow-body-style 2018-03-21 11:53:31 -03:00
ParametersSidebar.js eslint: use as-needed for arrow-body-style 2018-03-21 11:53:31 -03:00