diff options
Diffstat (limited to 'doc/development/fe_guide/style/javascript.md')
-rw-r--r-- | doc/development/fe_guide/style/javascript.md | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/development/fe_guide/style/javascript.md b/doc/development/fe_guide/style/javascript.md index 7951c702601..b69a6f1941c 100644 --- a/doc/development/fe_guide/style/javascript.md +++ b/doc/development/fe_guide/style/javascript.md @@ -184,6 +184,9 @@ This can help to quickly understand the control flow. // bad if (isThingNull) return ''; +if (isThingNull) + return ''; + // good if (isThingNull) { return ''; @@ -192,7 +195,7 @@ if (isThingNull) { ## ESLint -ESLint behaviour can be found in our [tooling guide](../tooling.md). +ESLint behavior can be found in our [tooling guide](../tooling.md). ## IIFEs |