diff options
author | Rich Trott <rtrott@gmail.com> | 2016-02-18 23:01:06 -0800 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2016-02-21 13:44:45 -0800 |
commit | db4e7528b0e7324016ebbfd936f2e4be53ba57e7 (patch) | |
tree | 47a2d765bf7193a8337171e888d6445b0185dbfb /test/parallel/test-timers-linked-list.js | |
parent | 97f76f3f04261a1b3b382dc1962c4b1e20c55b6a (diff) | |
download | android-node-v8-db4e7528b0e7324016ebbfd936f2e4be53ba57e7.tar.gz android-node-v8-db4e7528b0e7324016ebbfd936f2e4be53ba57e7.tar.bz2 android-node-v8-db4e7528b0e7324016ebbfd936f2e4be53ba57e7.zip |
tools: add Node.js-specific ESLint rules
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>
Diffstat (limited to 'test/parallel/test-timers-linked-list.js')
-rw-r--r-- | test/parallel/test-timers-linked-list.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-timers-linked-list.js b/test/parallel/test-timers-linked-list.js index c046a3024a..b5ff9f56bf 100644 --- a/test/parallel/test-timers-linked-list.js +++ b/test/parallel/test-timers-linked-list.js @@ -4,7 +4,7 @@ require('../common'); const assert = require('assert'); -const L = require('_linklist'); +const L = require('_linklist'); // eslint-disable-line no-restricted-modules const internalL = require('internal/linkedlist'); assert.strictEqual(L, internalL); |