Open NicMcPhee opened 2 years ago
@NicMcPhee - In the meantime, do we want to remove CODE_QUALITY_CHECKS.md from the project since it refers (only) to projects (LGTM, BCH) that no longer exist?
Yes, I think that's the right way to go.
I feel that DeepSource and CodeQL are giving us most (if not all) of what we want. I can't figure out from their docs if either is checking for code duplication. I might just run a simple test to check that. If they aren't, then there are other tools (like jscpd) that can do that (& we could create a new issue for that). If they are, then we should just close this as having been resolved by a variety of other changes.
While I quite like BetterCodeHub in many ways, we've had a variety of issues that have convinced me that we probably want to look for other alternatives.
Desired properties
Desired checks
BetterCodeHub does 10 checks, but we don't really care about all of them (at least not in this context). The ones that I'd like us to have checks for include:
Some that I think we can ignore:
Some tools to consider
eslint
: We're already usingeslint
, so it would be good to see which of these issues we can address with that. It would probably only be client issues, though, so we probably need something similar for the Java code. It looks like it can handle things like complexity, length, and depth.jscpd
: Annpm
based copy-paste-detector that, despite being annpm
install, supports tons of languages. There also seems to be a VS Code extension that does this, so maybe we can do this in the IDE.