mirror of
https://github.com/nodejs/node.git
synced 2024-11-30 07:27:22 +01:00
db4e7528b0
Add these rules: * no-restricted-modules: See http://eslint.org/docs/rules/no-restricted-modules. It has been configured to prohibit the use of the deprecated `sys` and `_linklist` modules. * no-new-require: See http://eslint.org/docs/rules/no-new-require * no-mixed-requires: http://eslint.org/docs/rules/no-mixed-requires PR-URL: https://github.com/nodejs/node/pull/5320 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michaël Zasso <mic.besace@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
8 lines
199 B
JavaScript
8 lines
199 B
JavaScript
'use strict';
|
|
require('../common');
|
|
var assert = require('assert');
|
|
var sys = require('sys'); // eslint-disable-line no-restricted-modules
|
|
var util = require('util');
|
|
|
|
assert.strictEqual(sys, util);
|