Commit 3de353b5 authored by Rich Trott's avatar Rich Trott
Browse files

test: make common.js mandatory via linting rule

test/common.js contains code that detects global variable leaks.

This eslint rule checks that a module named `common` is loaded. It is
only applicable to files in the test directory. Tests that intentionally
leak variables can opt out with an eslint-disable comment.

PR-URL: https://github.com/nodejs/node/pull/3157


Reviewed-By: default avatarRod Vagg <rod@vagg.org>
Reviewed-By: default avatarColin Ihrig <cjihrig@gmail.com>
parent c78091d6
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment