Page MenuHomePhabricator

'npm test' failing on Citoid extension
Closed, InvalidPublic

Description

Linting is failing on the Citoid extension. Fix the errors in the files so they pass the tests.

npm test

> citoid@0.0.0 test /mediawiki/extensions/Citoid
> grunt test

Running "eslint:main" (eslint) task

/home/marielle/Code/vagrant/mediawiki/extensions/Citoid/modules/tests/index.test.js
     1:1  error  Too many blank lines at the beginning of file. Max of 0 allowed  no-multiple-empty-lines
  2465:1  error  Too many blank lines at the end of file. Max of 0 allowed        no-multiple-empty-lines

 2 problems (2 errors, 0 warnings)

Warning: Task "eslint:main" failed. Use --force to continue.

Aborted due to warnings.

Event Timeline

Restricted Application added subscribers: TerraCodes, Aklapper. · View Herald Transcript
Mvolz triaged this task as Low priority.Dec 3 2016, 2:34 PM
Mvolz updated the task description. (Show Details)