Skip to content

doc: use prefer-rest-params eslint rule in docs

Checklist
Affected core subsystem(s)

doc, tools

Do not promote using of arguments.

One fragment is left as is because of history nature: it uses a real deprecated code from libs.

Refs: http://eslint.org/docs/rules/prefer-rest-params Refs: https://github.com/nodejs/node/blob/99da8e8e02a874a0a044889f863c45700509d02c/lib/util.js#L1002-L1006

Merge request reports

Loading