diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2018-01-04 02:14:55 +0300 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2018-01-04 02:14:55 +0300 |
commit | b299198e1eb5e1f26d5267f4a64944e600086d6b (patch) | |
tree | 441412c739e7dace4c2ba34099d19677d52e0314 /app/assets/javascripts/groups | |
parent | fb583c4b1839af16c50e27105a300695aa50bcad (diff) |
Adds `eslint-plugin-vue`, fixes linter errors and adds docs
Diffstat (limited to 'app/assets/javascripts/groups')
-rw-r--r-- | app/assets/javascripts/groups/components/group_folder.vue | 6 | ||||
-rw-r--r-- | app/assets/javascripts/groups/components/item_stats.vue | 7 |
2 files changed, 11 insertions, 2 deletions
diff --git a/app/assets/javascripts/groups/components/group_folder.vue b/app/assets/javascripts/groups/components/group_folder.vue index e60221fa08d..1ff984d02e2 100644 --- a/app/assets/javascripts/groups/components/group_folder.vue +++ b/app/assets/javascripts/groups/components/group_folder.vue @@ -20,7 +20,11 @@ export default { return this.parentGroup.childrenCount > MAX_CHILDREN_COUNT; }, moreChildrenStats() { - return n__('One more item', '%d more items', this.parentGroup.childrenCount - this.parentGroup.children.length); + return n__( + 'One more item', + '%d more items', + this.parentGroup.childrenCount - this.parentGroup.children.length + ); }, }, }; diff --git a/app/assets/javascripts/groups/components/item_stats.vue b/app/assets/javascripts/groups/components/item_stats.vue index 9f8ac138fc3..d9bc0588908 100644 --- a/app/assets/javascripts/groups/components/item_stats.vue +++ b/app/assets/javascripts/groups/components/item_stats.vue @@ -1,6 +1,11 @@ <script> import tooltip from '../../vue_shared/directives/tooltip'; -import { ITEM_TYPE, VISIBILITY_TYPE_ICON, GROUP_VISIBILITY_TYPE, PROJECT_VISIBILITY_TYPE } from '../constants'; +import { + ITEM_TYPE, + VISIBILITY_TYPE_ICON, + GROUP_VISIBILITY_TYPE, + PROJECT_VISIBILITY_TYPE, +} from '../constants'; export default { directives: { |