avajs/eslint-plugin-ava



The issue has been solved
Regular expression in `t.deepEqual()` shouldn't trigger warning #270
Airkro posted onGitHub
Rule: no-incorrect-deep-equal
Example:
const ext2regexp = require('ext-to-regexp');
const jsx = ext2regexp('js', 'jsx');
t.deepEqual(jsx, /\.(js|jsx)$/); // shouldn't trigger warning
Note: This issue has a bounty, so it's expected that you are an experienced programmer and that you give it your best effort if you intend to tackle this. Don't forget, if applicable, to add tests, docs (double-check for typos). And don't be sloppy. Review your own diff multiple times and try to find ways to improve and simplify your code. Instead of asking too many questions, present solutions. The point of an issue bounty is to reduce my workload, not give me more. Include a 🦄 in your PR description to indicate that you've read this. Thanks for helping out 🙌 - @sindresorhus