summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2017-09-08 11:26:11 +0100
committerFilipa Lacerda <filipa@gitlab.com>2017-09-08 11:26:11 +0100
commita13a024afba3ce0bd391dd690cf0407cfdf4ceb5 (patch)
tree31280dbd06dc55ead7006b08f4d3a3027cee638e
parent883cba7c89fc9c0259f23d465622aec7a668813d (diff)
downloadgitlab-ce-vue-eslint.tar.gz
Fixes after reviewvue-eslint
-rw-r--r--doc/development/fe_guide/style_guide_js.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/development/fe_guide/style_guide_js.md b/doc/development/fe_guide/style_guide_js.md
index cc5322f9afe..c8d23609280 100644
--- a/doc/development/fe_guide/style_guide_js.md
+++ b/doc/development/fe_guide/style_guide_js.md
@@ -311,7 +311,7 @@ A forEach will cause side effects, it will be mutating the array being iterated.
#### Alignment
1. Follow these alignment styles for the template method:
- 1. With more than one attribute, all attributes should be in a new line:
+ 1. With more than one attribute, all attributes should be on a new line:
```javascript
// bad
<component v-if="bar"
@@ -329,7 +329,7 @@ A forEach will cause side effects, it will be mutating the array being iterated.
Click me
</button>
```
- 1. With only one attribute, it can be inline with the open tag:
+ 1. The tag can be inline if there is only one attribute:
```javascript
// good
<component bar="bar" />