Skip to content

Backport f637: tools: replace custom ESLint timers rule

ESLint 3.19.0 allows the specification of selectors that represent disallowed syntax. Replace our custom rule for timer arguments with a pair of no-restricted-syntax option objects.

PR-URL: https://github.com/nodejs/node/pull/12162 Reviewed-By: Teddy Katz teddy.katz@gmail.com Reviewed-By: Michaël Zasso targos@protonmail.com Reviewed-By: Yuta Hiroto hello@about-hiroppy.com Reviewed-By: James M Snell jasnell@gmail.com Reviewed-By: Colin Ihrig cjihrig@gmail.com

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

Merge request reports

Loading