tools: enable no-useless-constructor lint rule
This commit enables ESLint's no-useless-constructor
rule. Note that the documentation examples that only include constructor calls were left in tact.
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