Joe Marty
Joe Marty
Aha! So, it turns out all I had to do to fix this was change `"rulesDirectory": ["codelyzer"]` to `"rulesDirectory": ["node_modules/codelyzer"]`! I don't know if the version update of this plugin...
Does anybody have any idea why this is happening? I'm having the same problem trying to use `"rulesDirectory": ["codelyzer"]`: ``` FatalError: Failed to load /tmp/codeclimate-tslint/05f2da994f0ff2d0b33365fad2d0b1298e0e03b0f232cb890ff97b4ecc48f69b.json: Could not find custom rule...
Good news! I did (through trial and error) figure out how to create a new app object for myself... I'm not sure if I'm doing it right, but this is...
This pull request adds action_cache support: https://github.com/tommyh/preheat/pull/3 Still not sure why app wasn't defined in the rake environment though.
Sure - I guess it's possible that rake doesn't load the necessary part, but since the examples demonstrate this being used in a rake task, I assume the intent was...
Even better: scope could use [defineProperty](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/defineProperty) to define the property using an accessor descriptor on the context object, so that it doesn't have to be called using a function syntax!...
Okay, touche :wink: So my example was not very good, hehe. Obviously there's the syntactic sugar aspect, but that's not a huge difference, so here are the 2 cases where...
Sorry, I could have been much more concise about what wouldn't work! I my original example (and yours above @ScottFreeCode) we're doing: ```javascript expect(userCount()).to.equal(1); ``` When the case that actually...
Sure. I will agree that it can technically be done on the user side. The difference is that if I do it in a way that looks nice on the...
I suppose scope may need to be a function(?), but my point is that I think most of these benefits could be accomplished by exposing and documenting a simple function...