avajs/eslint-plugin-ava

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


#158

posted by Airkro over 5 years ago

@issuehunt has funded $40.00 to this issue.


posted by issuehunt-app[bot] over 5 years ago

@sindresorhus has rewarded $36.00 to @mikaoelitiana. See it on IssueHunt

  • :moneybag: Total deposit: $40.00
  • :tada: Repository reward(0%): $0.00
  • :wrench: Service fee(10%): $4.00
posted by issuehunt-app[bot] about 5 years ago

Fund this Issue

$40.00
Rewarded

Rewarded pull request

Recent activities

mikaoelitiana was rewarded by sindresorhus for avajs/eslint-plugin-ava# 270
about 5 years ago
mikaoelitiana submitted an output to  avajs/ eslint-plugin-ava# 270
over 5 years ago