tools: new eslint rules
This introduces a few more eslint rules for things that the code base already handles well but that we some times still have to point out in PRs.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines
Affected core subsystem(s)
tools, doc, util, benchmark, test