0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/tools/eslint/lib/rules
Rich Trott e8a7003e94 tools: update ESLint, fix unused vars bug
Update ESLint to 3.0.0. This includes an enhancement to `no-unused-vars`
such that it finds a few instances in our code base that it did not find
previously (fixed in previous commits readying this for landing).

PR-URL: https://github.com/nodejs/node/pull/7601
Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
2016-07-11 13:47:20 -07:00
..
accessor-pairs.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
array-bracket-spacing.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
array-callback-return.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
arrow-body-style.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
arrow-parens.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
arrow-spacing.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
block-scoped-var.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
block-spacing.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
brace-style.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
callback-return.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
camelcase.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
comma-dangle.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
comma-spacing.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
comma-style.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
complexity.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
computed-property-spacing.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
consistent-return.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
consistent-this.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
constructor-super.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
curly.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
default-case.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
dot-location.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
dot-notation.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
eol-last.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
eqeqeq.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
func-names.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
func-style.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
generator-star-spacing.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
global-require.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
guard-for-in.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
handle-callback-err.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
id-blacklist.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
id-length.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
id-match.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
indent.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
init-declarations.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
jsx-quotes.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
key-spacing.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
keyword-spacing.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
linebreak-style.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
lines-around-comment.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
max-depth.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
max-len.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
max-lines.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
max-nested-callbacks.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
max-params.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
max-statements-per-line.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
max-statements.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
new-cap.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
new-parens.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
newline-after-var.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
newline-before-return.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
newline-per-chained-call.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
no-alert.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-array-constructor.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-bitwise.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-caller.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-case-declarations.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-catch-shadow.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-class-assign.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-cond-assign.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
no-confusing-arrow.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
no-console.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-const-assign.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-constant-condition.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
no-continue.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-control-regex.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-debugger.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-delete-var.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-div-regex.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
no-dupe-args.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-dupe-class-members.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-dupe-keys.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-duplicate-case.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
no-duplicate-imports.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-else-return.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
no-empty-character-class.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
no-empty-function.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
no-empty-pattern.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-empty.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
no-eq-null.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-eval.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-ex-assign.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-extend-native.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-extra-bind.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-extra-boolean-cast.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-extra-label.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-extra-parens.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
no-extra-semi.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
no-fallthrough.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-floating-decimal.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-func-assign.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-implicit-coercion.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
no-implicit-globals.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-implied-eval.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-inline-comments.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
no-inner-declarations.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-invalid-regexp.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-invalid-this.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-irregular-whitespace.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
no-iterator.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-label-var.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-labels.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-lone-blocks.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-lonely-if.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-loop-func.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
no-magic-numbers.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-mixed-operators.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
no-mixed-requires.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-mixed-spaces-and-tabs.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
no-multi-spaces.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
no-multi-str.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-multiple-empty-lines.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
no-native-reassign.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
no-negated-condition.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-negated-in-lhs.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-nested-ternary.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-new-func.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-new-object.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-new-require.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-new-symbol.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-new-wrappers.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-new.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-obj-calls.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-octal-escape.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-octal.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-param-reassign.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-path-concat.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-plusplus.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-process-env.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-process-exit.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-proto.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-prototype-builtins.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
no-redeclare.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-regex-spaces.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
no-restricted-globals.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-restricted-imports.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-restricted-modules.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-restricted-syntax.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-return-assign.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
no-script-url.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
no-self-assign.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-self-compare.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-sequences.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
no-shadow-restricted-names.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-shadow.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-spaced-func.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-sparse-arrays.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-sync.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-ternary.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-this-before-super.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-throw-literal.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-trailing-spaces.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-undef-init.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-undef.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-undefined.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-underscore-dangle.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-unexpected-multiline.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
no-unmodified-loop-condition.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-unneeded-ternary.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-unreachable.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-unsafe-finally.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
no-unused-expressions.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-unused-labels.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-unused-vars.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
no-use-before-define.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-useless-call.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
no-useless-computed-key.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
no-useless-concat.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
no-useless-constructor.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-useless-escape.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-useless-rename.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
no-var.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-void.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-warning-comments.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-whitespace-before-property.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
no-with.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
object-curly-newline.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
object-curly-spacing.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
object-property-newline.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
object-shorthand.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
one-var-declaration-per-line.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
one-var.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
operator-assignment.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
operator-linebreak.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
padded-blocks.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
prefer-arrow-callback.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
prefer-const.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
prefer-reflect.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
prefer-rest-params.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
prefer-spread.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
prefer-template.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
quote-props.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
quotes.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
radix.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
require-jsdoc.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
require-yield.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
rest-spread-spacing.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
semi-spacing.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
semi.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
sort-imports.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
sort-vars.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
space-before-blocks.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
space-before-function-paren.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
space-in-parens.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
space-infix-ops.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
space-unary-ops.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
spaced-comment.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
strict.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
template-curly-spacing.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
unicode-bom.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
use-isnan.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
valid-jsdoc.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
valid-typeof.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
vars-on-top.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
wrap-iife.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
wrap-regex.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00
yield-star-spacing.js tools: update ESLint to 2.9.0 2016-05-04 10:26:25 -07:00
yoda.js tools: update ESLint, fix unused vars bug 2016-07-11 13:47:20 -07:00