test: add tests for eslint rules
This adds tests for the custom eslint rules in this repository, using
the RuleTester
test utility bundled with eslint.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines
Affected core subsystem(s)
tools