Duplicate Vue lint and error

First seen in pipeline where https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/2237/ was merged into master.

static-analysis, https://gitlab.com/gitlab-org/gitlab-ee/-/jobs/19987147

$ eslint --max-warnings 0 --ext .js,.vue . 

/builds/gitlab-org/gitlab-ee/spec/javascripts/test_bundle.js
   6:17  error  '/builds/gitlab-org/gitlab-ee/node_modules/vue/dist/vue.runtime.common.js' imported multiple times  import/no-duplicates
  12:1   error  Import in body of module; reorder to top                                                            import/first
  12:1   error  'vue' import is duplicated                                                                          no-duplicate-imports
  12:8   error  'Vue' is already defined                                                                            no-redeclare
  12:17  error  '/builds/gitlab-org/gitlab-ee/node_modules/vue/dist/vue.runtime.common.js' imported multiple times  import/no-duplicates
  13:1   error  Import in body of module; reorder to top                                                            import/first

✖ 6 problems (6 errors, 0 warnings)

karma, https://gitlab.com/gitlab-org/gitlab-ee/-/jobs/19987308

Chrome ERROR
  Uncaught Error: Module build failed: Duplicate declaration "Vue"
  
    10 | Vue.config.productionTip = false;
    11 | 
  > 12 | import Vue from 'vue';
       |        ^
    13 | import VueResource from 'vue-resource';
    14 | 
    15 | Vue.use(VueResource);
  
  at spec/javascripts/test_bundle.js:74

All failing static-analyis failures with 'vue' import is duplicated

`static-analyis` jobs between 2017-6-20 to 2017-6-26 with `'vue' import is duplicated` failure

19987147 20000857 20002690 20014184 20020976 20022568 20024699 20027883 20032735 20046987 20047689 20048916 20060348 20062748

Assignee Loading
Time tracking Loading