Ben Monro
Ben Monro
@not-an-aardvark yeah, eslint will complain if it's not enabled, and I put console.logs in the rule filter, which i definitely see.
here's the full rule: ``` const eslint = require('eslint'); const ruleComposer = require('eslint-rule-composer'); const jestNoLargeSnapshots = require('eslint-plugin-jest').rules['no-large-snapshots']; const allowedSnapshots = require('../extras/allowed-snapshots.json'); const allowedFiles = allowedSnapshots.map(({ filePath }) => filePath); const...
any insight @not-an-aardvark ? :)
Yeah I tried dedent but it didn't seem to affect it
Yeah that rule is not in the recommended list yet until it gets a little more vetting. There is a PR in flight that addresses some stability on the rule...
@nickmccurdy the rule is autofixing. fwiw. :)
Yeah adding a note to the docs makes sense to me
@kentcdodds curious if you have thoughts on if this is possible and if so if you'd be ok with it, super low priority but wondering what you think...
Supposedly lodash does it... Testcafe uses that as their example. I'll do some digging.
2684 looks like it would work and I'm of the opinion that we should wait for that to be merged but I'll defer to @EmilTholin