Skip to content

Port of gitlab-ce!19940: Use eslint to find unused directives

Port of gitlab-ce!19940

What does this MR do?

In a lot of files we are using eslint-disable to overwrite our eslint settings. eslint has now an option --report-unused-disable-directives to find unused eslint-disable directives. We should use that option to find unnecessary disabled rules in our source code.

Edited by Mike Greiling

Merge request reports