I was working on this pull and thought it could be cool to have a small reward for simplifying the codebase.
Diff stats:
+5426
-6760
A simple formula could be to divide by 10 then subtract. i.e. 676 - 542.6 = $133.4
With our strict linter rules we should be able to avoid BS refactors.
Rationale
Generally codebase maintainers should try and keep the code clean and simple. This offers a direct financial incentive for everybody to do so. Our task oriented system is not very compatible with the continuous nature of code simplification and reduction, so this plugin addresses that.
Filters
We can use filename regex to make specific types of files eligible such as *.ts, *.sol
Remark
This is intended to be stacked on regular task related pulls as well (it doesn't need to be a dedicated refactor pull.)
I was working on this pull and thought it could be cool to have a small reward for simplifying the codebase.
Diff stats:
A simple formula could be to divide by 10 then subtract. i.e.
676 - 542.6 = $133.4
With our strict linter rules we should be able to avoid BS refactors.
Rationale
Generally codebase maintainers should try and keep the code clean and simple. This offers a direct financial incentive for everybody to do so. Our task oriented system is not very compatible with the continuous nature of code simplification and reduction, so this plugin addresses that.
Filters
We can use filename regex to make specific types of files eligible such as
*.ts
,*.sol
Remark
This is intended to be stacked on regular task related pulls as well (it doesn't need to be a dedicated refactor pull.)