tools: update ESLint to version 2.1.0

Update ESLint to 2.1.0. ESLint has a number of potentially-useful new
features but this change attempts to be minimal in its changes.
However, some things could not be avoided reasonably.

ESLint 2.1.0 found a few lint issues that ESLing 1.x missed with
template strings that did not take advantage of any features of
template strings, and `let` declarations where `const` sufficed.

Additionally, ESLint 2.1.0 removes some granularity around enabling ES6
features. Some features (e.g., spread operator) that had been turned off
in our configuration for ESLint 1.x are now permitted.

PR-URL: https://github.com/nodejs/node/pull/5214
Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
Reviewed-By: jbergstroem - Johan Bergström <bugs@bergstroem.nu>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
This commit is contained in:
Rich Trott authored and Myles Borins committed 2016-03-02 14:01:11 -08:00
1 parent 82eac0f0aa
commit 7268bb1847
2897 files changed
+109893 -123005

No files matched your search

+2
View File
@@ -0,0 +1,2 @@
build
test
+9 -9
View File
@@ -2,7 +2,7 @@
"_args": [
[
"string_decoder@~0.10.x",
"/Users/mzasso/git/forks/node/node_modules/eslint/node_modules/readable-stream"
"/Users/trott/test/node_modules/eslint/node_modules/readable-stream"
]
],
"_from": "string_decoder@>=0.10.0 <0.11.0",
@@ -31,7 +31,7 @@
"_shasum": "62e203bc41766c6c28c9fc84301dab1c5310fa94",
"_shrinkwrap": null,
"_spec": "string_decoder@~0.10.x",
"_where": "/Users/mzasso/git/forks/node/node_modules/eslint/node_modules/readable-stream",
"_where": "/Users/trott/test/node_modules/eslint/node_modules/readable-stream",
"bugs": {
"url": "https://github.com/rvagg/string_decoder/issues"
},
@@ -48,21 +48,21 @@
"gitHead": "d46d4fd87cf1d06e031c23f1ba170ca7d4ade9a0",
"homepage": "https://github.com/rvagg/string_decoder",
"keywords": [
"browser",
"browserify",
"string",
"decoder",
"string"
"browser",
"browserify"
],
"license": "MIT",
"main": "index.js",
"maintainers": [
{
"name": "substack",
"email": "mail@substack.net"
"email": "mail@substack.net",
"name": "substack"
},
{
"name": "rvagg",
"email": "rod@vagg.org"
"email": "rod@vagg.org",
"name": "rvagg"
}
],
"name": "string_decoder",