avajs/eslint-plugin-ava

Make `use-t-well` more auto-fixable #244

GMartigny posted onGitHub

When https://github.com/avajs/eslint-plugin-ava/pull/229 is merged, use-t-well will be able to autofix falsey to falsy (a common misspell).

This can be expanded further by creating a small list of common misspells that can be autofixed (t.contxt, t.truthey, t.deepequal ...) I don't know what's the limit to the size of that list. It could even be allowed to customize it with an option.


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


@issuehunt has funded $60.00 to this issue.


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

@sindresorhus this inspired me to check my basic skills and I wrote simplistic auto correction module. It is able to fix all the mentioned corrections and some more. Should I add it?

posted by stroncium over 5 years ago

@sindresorhus has rewarded $54.00 to @stroncium. See it on IssueHunt

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

Fund this Issue

$60.00
Rewarded

Rewarded pull request

Recent activities

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