Skip to content
Permalink
Browse files

tools: update ESLint to 5.2.0

PR-URL: #21817
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information...
hiroppy authored and Trott committed Jul 23, 2018
1 parent 3ffd689 commit 8c6d1a06869a295cbcc835437bdc42ab15ac1e27
Showing with 10,886 additions and 11,440 deletions.
  1. +1 −1 tools/node_modules/eslint/README.md
  2. +28 −67 tools/node_modules/eslint/lib/cli-engine.js
  3. +1 −1 tools/node_modules/eslint/lib/cli.js
  4. +1 −1 tools/node_modules/eslint/lib/code-path-analysis/code-path-analyzer.js
  5. +1 −1 tools/node_modules/eslint/lib/config/config-initializer.js
  6. +13 −6 tools/node_modules/eslint/lib/config/config-validator.js
  7. +1 −1 tools/node_modules/eslint/lib/formatters/stylish.js
  8. +5 −6 tools/node_modules/eslint/lib/linter.js
  9. +4 −1 tools/node_modules/eslint/lib/rules/no-catch-shadow.js
  10. +2 −10 tools/node_modules/eslint/lib/rules/no-debugger.js
  11. +1 −1 tools/node_modules/eslint/lib/rules/prefer-const.js
  12. +147 −196 tools/node_modules/eslint/lib/rules/prefer-object-spread.js
  13. +1 −1 tools/node_modules/eslint/lib/rules/sort-keys.js
  14. +1 −1 tools/node_modules/eslint/lib/rules/valid-jsdoc.js
  15. +8 −4 tools/node_modules/eslint/lib/rules/wrap-regex.js
  16. +1 −3 tools/node_modules/eslint/lib/testers/rule-tester.js
  17. +146 −0 tools/node_modules/eslint/lib/util/lint-result-cache.js
  18. 0 tools/node_modules/eslint/lib/{ → util}/logging.js
  19. +1 −1 tools/node_modules/eslint/lib/util/npm-util.js
  20. 0 tools/node_modules/eslint/lib/{ → util}/timing.js
  21. +1 −24 tools/node_modules/eslint/node_modules/acorn-jsx/package.json
  22. +1 −25 tools/node_modules/eslint/node_modules/acorn/package.json
  23. +1 −24 tools/node_modules/eslint/node_modules/ajv-keywords/package.json
  24. +1 −1 tools/node_modules/eslint/node_modules/ajv/dist/ajv.bundle.js
  25. +2 −2 tools/node_modules/eslint/node_modules/ajv/dist/ajv.min.js
  26. +1 −1 tools/node_modules/eslint/node_modules/ajv/dist/ajv.min.js.map
  27. +1 −1 tools/node_modules/eslint/node_modules/ajv/lib/compile/resolve.js
  28. +4 −28 tools/node_modules/eslint/node_modules/ajv/package.json
  29. +1 −24 tools/node_modules/eslint/node_modules/ansi-escapes/package.json
  30. +1 −25 tools/node_modules/eslint/node_modules/ansi-regex/package.json
  31. +1 −24 tools/node_modules/eslint/node_modules/ansi-styles/package.json
  32. +1 −24 tools/node_modules/eslint/node_modules/argparse/package.json
  33. +1 −24 tools/node_modules/eslint/node_modules/array-union/package.json
  34. +1 −24 tools/node_modules/eslint/node_modules/array-uniq/package.json
  35. +1 −24 tools/node_modules/eslint/node_modules/arrify/package.json
  36. +1 −24 tools/node_modules/eslint/node_modules/babel-code-frame/node_modules/chalk/package.json
  37. +1 −24 tools/node_modules/eslint/node_modules/babel-code-frame/node_modules/strip-ansi/package.json
  38. +1 −30 tools/node_modules/eslint/node_modules/babel-code-frame/package.json
  39. +1 −24 tools/node_modules/eslint/node_modules/bail/package.json
  40. +1 −24 tools/node_modules/eslint/node_modules/balanced-match/package.json
  41. +1 −24 tools/node_modules/eslint/node_modules/brace-expansion/package.json
  42. +1 −24 tools/node_modules/eslint/node_modules/caller-path/package.json
  43. +1 −24 tools/node_modules/eslint/node_modules/callsites/package.json
  44. +1 −24 tools/node_modules/eslint/node_modules/chalk/node_modules/ansi-styles/package.json
  45. +1 −24 tools/node_modules/eslint/node_modules/chalk/node_modules/supports-color/package.json
  46. +1 −29 tools/node_modules/eslint/node_modules/chalk/package.json
  47. +1 −24 tools/node_modules/eslint/node_modules/character-entities-legacy/package.json
  48. +1 −24 tools/node_modules/eslint/node_modules/character-entities/package.json
  49. +1 −24 tools/node_modules/eslint/node_modules/character-reference-invalid/package.json
  50. +1 −24 tools/node_modules/eslint/node_modules/chardet/package.json
  51. +1 −24 tools/node_modules/eslint/node_modules/circular-json/package.json
  52. +1 −24 tools/node_modules/eslint/node_modules/cli-cursor/package.json
  53. +1 −24 tools/node_modules/eslint/node_modules/cli-width/package.json
  54. +1 −24 tools/node_modules/eslint/node_modules/collapse-white-space/package.json
  55. +1 −24 tools/node_modules/eslint/node_modules/color-convert/package.json
  56. +1 −24 tools/node_modules/eslint/node_modules/color-name/package.json
  57. +1 −24 tools/node_modules/eslint/node_modules/concat-map/package.json
  58. +1 −24 tools/node_modules/eslint/node_modules/cross-spawn/package.json
  59. +1 −24 tools/node_modules/eslint/node_modules/debug/package.json
  60. +1 −24 tools/node_modules/eslint/node_modules/deep-is/package.json
  61. +1 −25 tools/node_modules/eslint/node_modules/define-properties/package.json
  62. +1 −24 tools/node_modules/eslint/node_modules/del/package.json
  63. +1 −24 tools/node_modules/eslint/node_modules/doctrine/package.json
  64. +1 −24 tools/node_modules/eslint/node_modules/es-abstract/package.json
  65. +1 −24 tools/node_modules/eslint/node_modules/es-to-primitive/package.json
  66. +1 −26 tools/node_modules/eslint/node_modules/escape-string-regexp/package.json
  67. +1 −25 tools/node_modules/eslint/node_modules/eslint-plugin-markdown/package.json
  68. +1 −24 tools/node_modules/eslint/node_modules/eslint-scope/package.json
  69. +21 −0 tools/node_modules/eslint/node_modules/eslint-utils/LICENSE
  70. +39 −0 tools/node_modules/eslint/node_modules/eslint-utils/README.md
  71. +1,408 −0 tools/node_modules/eslint/node_modules/eslint-utils/index.js
  72. +1 −0 tools/node_modules/eslint/node_modules/eslint-utils/index.js.map
  73. +1,370 −0 tools/node_modules/eslint/node_modules/eslint-utils/index.mjs
  74. +1 −0 tools/node_modules/eslint/node_modules/eslint-utils/index.mjs.map
  75. +60 −0 tools/node_modules/eslint/node_modules/eslint-utils/package.json
  76. +1 −24 tools/node_modules/eslint/node_modules/eslint-visitor-keys/package.json
  77. +1 −24 tools/node_modules/eslint/node_modules/espree/package.json
  78. 0 tools/node_modules/eslint/node_modules/esprima/bin/esparse.js
  79. 0 tools/node_modules/eslint/node_modules/esprima/bin/esvalidate.js
  80. +6,553 −6,544 tools/node_modules/eslint/node_modules/esprima/dist/esprima.js
  81. +2 −25 tools/node_modules/eslint/node_modules/esprima/package.json
  82. +1 −24 tools/node_modules/eslint/node_modules/esquery/package.json
  83. +1 −24 tools/node_modules/eslint/node_modules/esrecurse/package.json
  84. +1 −26 tools/node_modules/eslint/node_modules/estraverse/package.json
  85. +1 −26 tools/node_modules/eslint/node_modules/esutils/package.json
  86. +35 −4 tools/node_modules/eslint/node_modules/extend/index.js
  87. +5 −28 tools/node_modules/eslint/node_modules/extend/package.json
  88. +1 −24 tools/node_modules/eslint/node_modules/external-editor/package.json
  89. +1 −24 tools/node_modules/eslint/node_modules/fast-deep-equal/package.json
  90. +1 −24 tools/node_modules/eslint/node_modules/fast-json-stable-stringify/package.json
  91. +1 −24 tools/node_modules/eslint/node_modules/fast-levenshtein/package.json
  92. +1 −24 tools/node_modules/eslint/node_modules/figures/package.json
  93. +1 −24 tools/node_modules/eslint/node_modules/file-entry-cache/package.json
  94. +1 −24 tools/node_modules/eslint/node_modules/flat-cache/package.json
  95. +1 −24 tools/node_modules/eslint/node_modules/foreach/package.json
  96. +1 −24 tools/node_modules/eslint/node_modules/fs.realpath/package.json
  97. +1 −26 tools/node_modules/eslint/node_modules/function-bind/package.json
  98. +1 −24 tools/node_modules/eslint/node_modules/functional-red-black-tree/package.json
  99. +1 −26 tools/node_modules/eslint/node_modules/glob/package.json
  100. +1 −24 tools/node_modules/eslint/node_modules/globals/package.json
  101. +1 −24 tools/node_modules/eslint/node_modules/globby/package.json
  102. +1 −24 tools/node_modules/eslint/node_modules/graceful-fs/package.json
  103. +1 −24 tools/node_modules/eslint/node_modules/has-ansi/package.json
  104. +1 −24 tools/node_modules/eslint/node_modules/has-flag/package.json
  105. +1 −24 tools/node_modules/eslint/node_modules/has-symbols/package.json
  106. +1 −25 tools/node_modules/eslint/node_modules/has/package.json
  107. +1 −24 tools/node_modules/eslint/node_modules/iconv-lite/package.json
  108. +35 −13 tools/node_modules/eslint/node_modules/ignore/README.md
  109. +5 −1 tools/node_modules/eslint/node_modules/ignore/index.d.ts
  110. +463 −0 tools/node_modules/eslint/node_modules/ignore/index.js
  111. +240 −199 tools/node_modules/eslint/node_modules/ignore/{ignore.js → legacy.js}
  112. +22 −38 tools/node_modules/eslint/node_modules/ignore/package.json
  113. +1 −24 tools/node_modules/eslint/node_modules/imurmurhash/package.json
  114. +1 −24 tools/node_modules/eslint/node_modules/inflight/package.json
  115. +1 −24 tools/node_modules/eslint/node_modules/inherits/package.json
  116. +1 −24 tools/node_modules/eslint/node_modules/inquirer/package.json
  117. +1 −25 tools/node_modules/eslint/node_modules/is-alphabetical/package.json
  118. +1 −24 tools/node_modules/eslint/node_modules/is-alphanumerical/package.json
  119. +1 −24 tools/node_modules/eslint/node_modules/is-buffer/package.json
  120. +47 −0 tools/node_modules/eslint/node_modules/is-callable/.istanbul.yml
  121. +5 −7 tools/node_modules/eslint/node_modules/is-callable/index.js
  122. +24 −38 tools/node_modules/eslint/node_modules/is-callable/package.json
  123. +1 −24 tools/node_modules/eslint/node_modules/is-date-object/package.json
  124. +1 −26 tools/node_modules/eslint/node_modules/is-decimal/package.json
  125. +1 −25 tools/node_modules/eslint/node_modules/is-fullwidth-code-point/package.json
  126. +1 −24 tools/node_modules/eslint/node_modules/is-hexadecimal/package.json
  127. +1 −24 tools/node_modules/eslint/node_modules/is-path-cwd/package.json
  128. +1 −24 tools/node_modules/eslint/node_modules/is-path-in-cwd/package.json
  129. +1 −24 tools/node_modules/eslint/node_modules/is-path-inside/package.json
  130. +1 −24 tools/node_modules/eslint/node_modules/is-plain-obj/package.json
  131. +1 −24 tools/node_modules/eslint/node_modules/is-promise/package.json
  132. +1 −24 tools/node_modules/eslint/node_modules/is-regex/package.json
  133. +1 −24 tools/node_modules/eslint/node_modules/is-resolvable/package.json
  134. +1 −24 tools/node_modules/eslint/node_modules/is-symbol/package.json
  135. +1 −24 tools/node_modules/eslint/node_modules/is-whitespace-character/package.json
  136. +1 −24 tools/node_modules/eslint/node_modules/is-word-character/package.json
  137. +1 −24 tools/node_modules/eslint/node_modules/isexe/package.json
  138. +1 −24 tools/node_modules/eslint/node_modules/js-tokens/package.json
  139. +1 −24 tools/node_modules/eslint/node_modules/js-yaml/package.json
  140. +1 −24 tools/node_modules/eslint/node_modules/json-schema-traverse/package.json
  141. +1 −24 tools/node_modules/eslint/node_modules/json-stable-stringify-without-jsonify/package.json
  142. +1 −25 tools/node_modules/eslint/node_modules/levn/package.json
  143. +1 −26 tools/node_modules/eslint/node_modules/lodash/package.json
  144. +1 −24 tools/node_modules/eslint/node_modules/markdown-escapes/package.json
  145. +1 −24 tools/node_modules/eslint/node_modules/mimic-fn/package.json
  146. +1 −25 tools/node_modules/eslint/node_modules/minimatch/package.json
  147. +1 −24 tools/node_modules/eslint/node_modules/minimist/package.json
  148. +1 −25 tools/node_modules/eslint/node_modules/mkdirp/package.json
  149. +1 −24 tools/node_modules/eslint/node_modules/ms/package.json
  150. +1 −24 tools/node_modules/eslint/node_modules/mute-stream/package.json
  151. +1 −24 tools/node_modules/eslint/node_modules/natural-compare/package.json
  152. +1 −24 tools/node_modules/eslint/node_modules/nice-try/package.json
  153. +1 −26 tools/node_modules/eslint/node_modules/object-assign/package.json
  154. +1 −24 tools/node_modules/eslint/node_modules/object-keys/package.json
  155. +1 −25 tools/node_modules/eslint/node_modules/once/package.json
  156. +1 −24 tools/node_modules/eslint/node_modules/onetime/package.json
  157. +1 −24 tools/node_modules/eslint/node_modules/optionator/package.json
  158. +1 −24 tools/node_modules/eslint/node_modules/os-tmpdir/package.json
  159. +1 −24 tools/node_modules/eslint/node_modules/parse-entities/package.json
  160. +1 −24 tools/node_modules/eslint/node_modules/path-is-absolute/package.json
  161. +1 −25 tools/node_modules/eslint/node_modules/path-is-inside/package.json
  162. +1 −24 tools/node_modules/eslint/node_modules/path-key/package.json
  163. +1 −25 tools/node_modules/eslint/node_modules/pify/package.json
  164. +1 −25 tools/node_modules/eslint/node_modules/pinkie-promise/package.json
  165. +1 −24 tools/node_modules/eslint/node_modules/pinkie/package.json
  166. +1 −24 tools/node_modules/eslint/node_modules/pluralize/package.json
  167. +1 −26 tools/node_modules/eslint/node_modules/prelude-ls/package.json
  168. +1 −24 tools/node_modules/eslint/node_modules/progress/package.json
  169. +1 −24 tools/node_modules/eslint/node_modules/punycode/package.json
  170. +1 −24 tools/node_modules/eslint/node_modules/regexp.prototype.flags/package.json
  171. +1 −24 tools/node_modules/eslint/node_modules/regexpp/package.json
  172. +1 −24 tools/node_modules/eslint/node_modules/remark-parse/package.json
  173. +1 −24 tools/node_modules/eslint/node_modules/repeat-string/package.json
  174. +1 −24 tools/node_modules/eslint/node_modules/replace-ext/package.json
  175. +1 −24 tools/node_modules/eslint/node_modules/require-uncached/package.json
  176. +1 −24 tools/node_modules/eslint/node_modules/resolve-from/package.json
  177. +1 −24 tools/node_modules/eslint/node_modules/restore-cursor/package.json
  178. +1 −24 tools/node_modules/eslint/node_modules/rimraf/package.json
  179. +1 −24 tools/node_modules/eslint/node_modules/run-async/package.json
  180. +1 −24 tools/node_modules/eslint/node_modules/rxjs/package.json
  181. +1 −24 tools/node_modules/eslint/node_modules/safer-buffer/package.json
  182. +1 −25 tools/node_modules/eslint/node_modules/semver/package.json
  183. +1 −24 tools/node_modules/eslint/node_modules/shebang-command/package.json
  184. +1 −24 tools/node_modules/eslint/node_modules/shebang-regex/package.json
  185. +1 −24 tools/node_modules/eslint/node_modules/signal-exit/package.json
  186. +1 −24 tools/node_modules/eslint/node_modules/slice-ansi/package.json
  187. +1 −24 tools/node_modules/eslint/node_modules/sprintf-js/package.json
  188. +1 −24 tools/node_modules/eslint/node_modules/state-toggle/package.json
  189. +1 −25 tools/node_modules/eslint/node_modules/string-width/package.json
  190. +1 −24 tools/node_modules/eslint/node_modules/string.prototype.matchall/package.json
  191. +1 −24 tools/node_modules/eslint/node_modules/strip-ansi/node_modules/ansi-regex/package.json
  192. +1 −26 tools/node_modules/eslint/node_modules/strip-ansi/package.json
  193. +1 −24 tools/node_modules/eslint/node_modules/strip-json-comments/package.json
  194. +1 −24 tools/node_modules/eslint/node_modules/supports-color/package.json
  195. +1 −24 tools/node_modules/eslint/node_modules/symbol-observable/package.json
  196. +1 −24 tools/node_modules/eslint/node_modules/table/package.json
  197. +1 −24 tools/node_modules/eslint/node_modules/text-table/package.json
  198. +1 −24 tools/node_modules/eslint/node_modules/through/package.json
  199. +1 −24 tools/node_modules/eslint/node_modules/trim-trailing-lines/package.json
  200. +1 −24 tools/node_modules/eslint/node_modules/trim/package.json
  201. +1 −24 tools/node_modules/eslint/node_modules/trough/package.json
  202. +1 −25 tools/node_modules/eslint/node_modules/type-check/package.json
  203. +1 −24 tools/node_modules/eslint/node_modules/unherit/package.json
  204. +1 −24 tools/node_modules/eslint/node_modules/unified/package.json
  205. +1 −24 tools/node_modules/eslint/node_modules/unist-util-is/package.json
  206. +1 −24 tools/node_modules/eslint/node_modules/unist-util-remove-position/package.json
  207. +1 −25 tools/node_modules/eslint/node_modules/unist-util-stringify-position/package.json
  208. +1 −24 tools/node_modules/eslint/node_modules/unist-util-visit/package.json
  209. +1 −24 tools/node_modules/eslint/node_modules/uri-js/package.json
  210. +1 −24 tools/node_modules/eslint/node_modules/vfile-location/package.json
  211. +1 −24 tools/node_modules/eslint/node_modules/vfile-message/package.json
  212. +1 −24 tools/node_modules/eslint/node_modules/vfile/package.json
  213. +1 −24 tools/node_modules/eslint/node_modules/which/package.json
  214. +1 −24 tools/node_modules/eslint/node_modules/wordwrap/package.json
  215. +1 −25 tools/node_modules/eslint/node_modules/wrappy/package.json
  216. +1 −24 tools/node_modules/eslint/node_modules/write/package.json
  217. +1 −24 tools/node_modules/eslint/node_modules/x-is-string/package.json
  218. +1 −25 tools/node_modules/eslint/node_modules/xtend/package.json
  219. +6 −29 tools/node_modules/eslint/package.json

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 8c6d1a0

Please sign in to comment.
You can’t perform that action at this time.