Consider grouping all static analysis jobs into a single one
We currently have dedicated jobs for the following lints:
-
docs:check:apilint
: takes 0.4 seconds to run -
lint:javascript
: takes 20 seconds to run -
config_lint
: takes 0.5 seconds to run -
haml_lint
: takes 18 seconds to run -
scss_lint
: takes 5 seconds to run
So in total all these linters take approximately 45 seconds to run but most of the CI jobs that run them take at least 3 or 4 minutes, sometimes up to 14 minutes (not sure why). See https://gitlab.com/gitlab-org/gitlab-ce/pipelines/7877376/builds for an example.
I think we could group these 5 lint jobs into a single one, so instead of spending (1+4+4+4+4) = 18 minutes of machine time, we'd spend only 4 or 5 minutes.