lint errors
Closed this issue · 2 comments
pixelzoom commented
After adding eslint rules related to switch statements (phetsims/chipper#485), this sim is failing lint.
% grunt lint
Running "eslint:repoFiles" (eslint) task
/Users/cmalley/PhET/GitHub/neuron/js/neuron/model/SodiumDualGatedChannel.js
105:7 error Expected a default case default-case
/Users/cmalley/PhET/GitHub/neuron/js/neuron/view/ParticlesCanvasNode.js
115:9 error Expected a default case default-case
✖ 2 problems (2 errors, 0 warnings)
Warning: Task "eslint:repoFiles" failed. Use --force to continue.
Aborted due to warnings.
jbphet commented
Changes look good, and I test the sim (with the webgl=false
flag to make sure the particle canvas was tested) and it runs fine. Closing.