tools: replace custom lint rule for getter/setter
Checklist
-
make -j8 test
(UNIX), orvcbuild test nosign
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
tools
Description of change
Replace custom no-definegetter-definesetter
lint rule with ESLint's
built-in no-restricted-properties
.
Refs: https://github.com/nodejs/node/pull/9112#pullrequestreview-4378536
/cc @not-an-aardvark @silverwind