0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/tools/eslint-rules
jessicaquynh b16a97e042 tools: avoid let in for loops
This adds a new ESLint tool to check for let
declarations within the for, forIn, forOf expressions.

Fixes: https://github.com/nodejs/node/issues/9045
Ref: https://github.com/nodejs/node/pull/8873
PR-URL: https://github.com/nodejs/node/pull/9049
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
Reviewed-By: Prince John Wesley <princejohnwesley@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2016-10-14 13:37:12 -07:00
..
align-function-arguments.js tools: make argument alignment linting more strict 2016-09-20 10:22:23 -07:00
align-multiline-assignment.js tools: remove default parameters from lint rule 2016-04-28 22:48:37 -07:00
assert-fail-single-argument.js tools: lint rule for assert.fail() 2016-04-20 08:36:27 -07:00
buffer-constructor.js tools: add buffer-constructor eslint rule 2016-03-18 17:05:18 -07:00
new-with-error.js tools: remove obsolete lint rules 2016-02-18 10:13:03 -08:00
no-definegetter-definesetter.js tools: disallow deprecated define getter/setter 2016-05-19 22:08:30 -07:00
no-let-in-for-declaration.js tools: avoid let in for loops 2016-10-14 13:37:12 -07:00
prefer-assert-methods.js tools: add eslint rule prefer-assert-methods 2016-09-20 16:35:39 -07:00
require-buffer.js tools: remove obsolete lint rules 2016-02-18 10:13:03 -08:00
required-modules.js tools: remove obsolete lint rules 2016-02-18 10:13:03 -08:00