Deadlines are looming and you're focusing on getting those last few specs green..
CLEAR TEST RUN. You're done!
git add . && git commit -m 'All Done! :zap:'
A few days later someone asks, 'When you run the specs, do only 10 run?' and a knot develops in your throat. You check the project, only to have your worst fears confirmed: You commited an fdescribe block! You remove it to uncover 30 spec failures.
That would never happen to you right? Of course not, this isn't your first rodeo. You're using coffeelint-no-focused-jasmine-specs.
- Setup CoffeeLint in your project and verify that it works
- Add this module as a
npm install -D coffeelint-no-focused-jasmine-specs
- Update your
coffeelint.jsonconfiguration file as described below.
- Modify coffeelint to use this custom rule. For example, If you run
coffeelintfrom the command line you might do this
coffeelint --rules node_modules/coffeelint-no-focused-jasmine-specs
Add the following snippet to your