TryGhost / eslint-plugin-ghost

Shared eslint configurations
MIT License
6 stars 5 forks source link

TODO: add mocha plugin #2

Closed ErisDS closed 5 years ago

ErisDS commented 6 years ago

The test rules should use eslint-plugin-mocha: https://github.com/lo1tuma/eslint-plugin-mocha

And as many useful rules as possible should be turned on to prevent common mistakes when writing tests (like leaving .only in place, or missing done())