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.
- Conform by the code review guidelines
-
Has been reviewed by a Frontend maintainer
-
Edited by Mike Greiling