For what it’s worth, here are the slides, and a link to the demo code at github.com/tylerpeterson/isojs:
I’ve added it to the (tiny) suite of interview code challenges. See github.com/ManagerJS paper-code/whole-root. I hope you find this useful conducting interviews and preparing for interviews.
Here’s a copy of the challenge for your convenience: Continue reading Whole Root Challenge
Once you have the plugin working you’ll definitely want to tailor the rules .jscsrc file.
One good gotcha: It ships with a lot of presets and has a lot of mirroring rule options. It might be tricky for you to override the preset.
For example, I opted for the Google preset and wanted to add the requireSpacesInAnonymousFunctionExpression rule. It wasn’t working until I realized the Google preset came with a mirroring option set: disallowSpacesInAnonymousFunctionExpression. I had to set that to null explicitly before my own settings would work.