tools: auto fix custom eslint rule for prefer-assert-methods.js
This adds eslint fixer for auto-fixing the usage of assert operators. Also adding fileoverview for the perfer-assert-methods.js file.
For example the fixer change this assert(obj.value !== 9);
to assert.notStrictEqual(obj.value, 9);
Refs: https://github.com/nodejs/node/issues/16636
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines -
modify tests
Affected core subsystem(s)
Tools