Skip to content

Fix eslint errors in master

username-removed-408677 requested to merge fix-eslint into master

What does this MR do?

Fixes eslint errors in master as seen in https://gitlab.com/gitlab-org/gitlab-ce/builds/17054485

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

/builds/gitlab-org/gitlab-ce/spec/javascripts/copy_as_gfm_spec.js
  1:1  error  Expected "import" instead of "require()"  import/no-commonjs

/builds/gitlab-org/gitlab-ce/spec/javascripts/filtered_search/components/recent_searches_dropdown_content_spec.js
  5:1  error  Expected "import" instead of "require()"  import/no-commonjs

✖ 2 problems (2 errors, 0 warnings)

Are there points in the code the reviewer needs to double check?

Shouldn't be

Why was this MR needed?

Make master green again

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/32862

Edited by username-removed-408677

Merge request reports

Loading