Fix eslint rule issue

100 jobs for ce-port-12918-metrics-dashboard-alerting-menu-unavailable-when-additional-panel-types-is-enabled-2 in 73 minutes and 37 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Prepare
passed #273990220
gitlab-org
compile-assets pull-cache

00:07:51

passed #273990222
gitlab-org
retrieve-tests-metadata

00:01:03

passed #273990221
gitlab-org
setup-test-env

00:04:48

 
  Test
passed #273990304
docker gitlab-org
build-qa-image

00:05:52

passed #273990234
allowed to fail
code_quality

00:09:02

passed #273990306
gitlab-org
danger-review

00:01:52

passed #273990300
gitlab-org
db:check-schema-pg

00:02:19

passed #273990299
gitlab-org
db:migrate:reset-pg

00:02:48

passed #273990302
gitlab-org
db:rollback-pg

00:03:23

passed #273990236
allowed to fail
dependency_scanning

00:10:31

passed #273990223
gitlab-org
docs lint

00:03:25

passed #273990297
gitlab-org
downtime_check

00:02:28

passed #273990298
gitlab-org
ee_compat_check

00:05:13

passed #273990224
gitlab-org docker
gitlab:assets:compile pull-cache

00:17:03

passed #273990303
gitlab-org
gitlab:setup-pg

00:03:03

passed #273990307
gitlab-org
gitlab_git_test

00:00:38

passed #273990226
gitlab-org
jest

00:15:27

passed #273990225
gitlab-org
karma

00:11:53

53.82%
passed #273990309
gitlab-org
lint-ci-gitlab

00:00:44

passed #273990233
gitlab-org
memory-on-boot

00:05:06

passed #273990232
gitlab-org
memory-static

00:03:04

passed #273990301
gitlab-org
migration:path-pg

00:09:28

passed #273990308
gitlab-org
no_ee_check

00:00:33

passed #273990230
gitlab-org
qa-frontend-node:10

00:17:26

passed #273990229
gitlab-org
qa-frontend-node:8

00:17:58

passed #273990231
gitlab-org allowed to fail
qa-frontend-node:latest

00:12:32

passed #273990227
gitlab-org
qa:internal

00:03:02

passed #273990228
gitlab-org
qa:selectors

00:04:28

passed #273990305
allowed to fail manual
review-build-cng

00:26:55

passed #273990258
gitlab-org
rspec integration pg 1/6

00:16:03

passed #273990259
gitlab-org
rspec integration pg 2/6

00:17:35

passed #273990260
gitlab-org
rspec integration pg 3/6

00:17:17

passed #273990261
gitlab-org
rspec integration pg 4/6

00:19:04

passed #273990262
gitlab-org
rspec integration pg 5/6

00:16:08

passed #273990264
gitlab-org
rspec integration pg 6/6

00:15:06

passed #273990266
gitlab-org
rspec system pg 1/24

00:11:50

passed #273990278
gitlab-org
rspec system pg 10/24

00:14:14

passed #273990279
gitlab-org
rspec system pg 11/24

00:12:42

passed #273990280
gitlab-org
rspec system pg 12/24

00:11:45

passed #273990281
gitlab-org
rspec system pg 13/24

00:13:02

passed #273990282
gitlab-org
rspec system pg 14/24

00:11:32

passed #273990283
gitlab-org
rspec system pg 15/24

00:13:20

passed #273990284
gitlab-org
rspec system pg 16/24

00:14:31

passed #273990285
gitlab-org
rspec system pg 17/24

00:12:28

passed #273990286
gitlab-org
rspec system pg 18/24

00:12:12

passed #273990287
gitlab-org
rspec system pg 19/24

00:10:44

passed #273990268
gitlab-org
rspec system pg 2/24

00:14:09

passed #273990288
gitlab-org
rspec system pg 20/24

00:15:45

passed #273990289
gitlab-org
rspec system pg 21/24

00:11:15

passed #273990290
gitlab-org
rspec system pg 22/24

00:12:10

passed #273990292
gitlab-org
rspec system pg 23/24

00:12:26

passed #273990293
gitlab-org
rspec system pg 24/24

00:13:16

passed #273990269
gitlab-org
rspec system pg 3/24

00:12:29

passed #273990270
gitlab-org
rspec system pg 4/24

00:13:10

passed #273990272
gitlab-org
rspec system pg 5/24

00:11:06

passed #273990273
gitlab-org
rspec system pg 6/24

00:11:10

passed #273990275
gitlab-org
rspec system pg 7/24

00:13:31

passed #273990276
gitlab-org
rspec system pg 8/24

00:12:28

passed #273990277
gitlab-org
rspec system pg 9/24

00:13:41

passed #273990237
gitlab-org
rspec unit pg 1/20

00:14:38

passed #273990247
gitlab-org
rspec unit pg 10/20

00:17:00

passed #273990248
gitlab-org
rspec unit pg 11/20

00:14:50

passed #273990249
gitlab-org
rspec unit pg 12/20

00:16:07

passed #273990250
gitlab-org
rspec unit pg 13/20

00:17:16

passed #273990251
gitlab-org
rspec unit pg 14/20

00:16:56

passed #273990252
gitlab-org
rspec unit pg 15/20

00:15:23

passed #273990253
gitlab-org
rspec unit pg 16/20

00:17:56

passed #273990254
gitlab-org
rspec unit pg 17/20

00:15:31

passed #273990255
gitlab-org
rspec unit pg 18/20

00:15:45

passed #273990256
gitlab-org
rspec unit pg 19/20

00:15:09

passed #273990238
gitlab-org
rspec unit pg 2/20

00:13:35

passed #273990257
gitlab-org
rspec unit pg 20/20

00:16:13

passed #273990239
gitlab-org
rspec unit pg 3/20

00:14:40

passed #273990240
gitlab-org
rspec unit pg 4/20

00:12:58

passed #273990241
gitlab-org
rspec unit pg 5/20

00:15:34

passed #273990242
gitlab-org
rspec unit pg 6/20

00:14:33

passed #273990244
gitlab-org
rspec unit pg 7/20

00:13:30

passed #273990245
gitlab-org
rspec unit pg 8/20

00:15:36

passed #273990246
gitlab-org
rspec unit pg 9/20

00:15:28

passed #273990294
gitlab-org
rspec-fast-spec-helper

00:03:25

passed #273990235
allowed to fail
sast

00:09:16

passed #273990295
gitlab-org
static-analysis

00:13:34

 
  Review
manual #273990312
allowed to fail manual
package-and-qa
passed #273990313
gitlab-org allowed to fail
review-deploy

00:12:19

manual #273990311
gitlab-org allowed to fail manual
review-docs-cleanup
manual #273990310
gitlab-org allowed to fail manual
review-docs-deploy-manual
passed #273990314
gitlab-org allowed to fail manual
review-stop

00:00:28

 
  Qa
passed #274046129
gitlab-org docker allowed to fail
review-performance

00:03:22

manual #273990316
docker gitlab-org allowed to fail manual
review-qa-all 1/5
manual #273990317
docker gitlab-org allowed to fail manual
review-qa-all 2/5
manual #273990318
docker gitlab-org allowed to fail manual
review-qa-all 3/5
manual #273990319
docker gitlab-org allowed to fail manual
review-qa-all 4/5
manual #273990321
docker gitlab-org allowed to fail manual
review-qa-all 5/5
passed #273990315
docker gitlab-org allowed to fail
review-qa-smoke

00:05:49

failed #273990323
docker gitlab-org allowed to fail
review-performance

00:01:28

 
  Post Test
passed #273990329
gitlab-org
coverage

00:03:29

96.56%
passed #273990333
gitlab-org allowed to fail
flaky-examples-check

00:02:04

passed #273990327
gitlab-org
jsdoc

00:01:28

passed #273990325
gitlab-org
lint:javascript:report

00:00:42

manual #273990331
gitlab-org allowed to fail manual
parallel-spec-reports