feat: fix linting errors

6 jobs for editor-decision-e2e-test-revise in 8 minutes and 18 seconds
latest
Status Name Job ID Coverage
  Build
passed build #32863

00:03:00

 
  Test
passed lint #32864

00:01:15

passed test #32865

00:00:40

failed test:chrome #32866

00:03:21

failed test:firefox #32867

00:02:39

 
  Demo
skipped demo:xpub-collabra #32868
allowed to fail manual
 
Name Stage Failure
failed
test:chrome Test There is an unknown failure, please try again
npm ERR! xpub-collabra@0.0.1 test:e2e:ci:chrome: `ALLOW_CONFIG_MUTATIONS=true NODE_ENV=test testcafe --skip-js-errors 'chrome:headless --no-sandbox' 'test/**/*.test.js'`
npm ERR! Exit status 10
npm ERR!
npm ERR! Failed at the xpub-collabra@0.0.1 test:e2e:ci:chrome script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/xpub/.npm/_logs/2018-07-01T10_07_21_610Z-debug.log
ERROR: Job failed: exit code 1
failed
test:firefox Test There is an unknown failure, please try again
npm ERR! xpub-collabra@0.0.1 test:e2e:ci:firefox: `ALLOW_CONFIG_MUTATIONS=true NODE_ENV=test testcafe --skip-js-errors firefox:headless 'test/**/*.test.js'`
npm ERR! Exit status 10
npm ERR!
npm ERR! Failed at the xpub-collabra@0.0.1 test:e2e:ci:firefox script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/xpub/.npm/_logs/2018-07-01T10_04_41_995Z-debug.log
ERROR: Job failed: exit code 1