mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
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>
100 lines
2.3 KiB
JSON
100 lines
2.3 KiB
JSON
{
|
|
"_args": [
|
|
[
|
|
"path-is-absolute@^1.0.0",
|
|
"/Users/trott/test/node_modules/eslint"
|
|
]
|
|
],
|
|
"_from": "path-is-absolute@>=1.0.0 <2.0.0",
|
|
"_id": "path-is-absolute@1.0.0",
|
|
"_inCache": true,
|
|
"_installable": true,
|
|
"_location": "/eslint/path-is-absolute",
|
|
"_nodeVersion": "0.12.0",
|
|
"_npmUser": {
|
|
"email": "sindresorhus@gmail.com",
|
|
"name": "sindresorhus"
|
|
},
|
|
"_npmVersion": "2.5.1",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"name": "path-is-absolute",
|
|
"raw": "path-is-absolute@^1.0.0",
|
|
"rawSpec": "^1.0.0",
|
|
"scope": null,
|
|
"spec": ">=1.0.0 <2.0.0",
|
|
"type": "range"
|
|
},
|
|
"_requiredBy": [
|
|
"/eslint",
|
|
"/eslint/glob",
|
|
"/eslint/rimraf/glob"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.0.tgz",
|
|
"_shasum": "263dada66ab3f2fb10bf7f9d24dd8f3e570ef912",
|
|
"_shrinkwrap": null,
|
|
"_spec": "path-is-absolute@^1.0.0",
|
|
"_where": "/Users/trott/test/node_modules/eslint",
|
|
"author": {
|
|
"email": "sindresorhus@gmail.com",
|
|
"name": "Sindre Sorhus",
|
|
"url": "sindresorhus.com"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/sindresorhus/path-is-absolute/issues"
|
|
},
|
|
"dependencies": {},
|
|
"description": "Node.js 0.12 path.isAbsolute() ponyfill",
|
|
"devDependencies": {},
|
|
"directories": {},
|
|
"dist": {
|
|
"shasum": "263dada66ab3f2fb10bf7f9d24dd8f3e570ef912",
|
|
"tarball": "http://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.0.tgz"
|
|
},
|
|
"engines": {
|
|
"node": ">=0.10.0"
|
|
},
|
|
"files": [
|
|
"index.js"
|
|
],
|
|
"gitHead": "7a76a0c9f2263192beedbe0a820e4d0baee5b7a1",
|
|
"homepage": "https://github.com/sindresorhus/path-is-absolute",
|
|
"keywords": [
|
|
"path",
|
|
"paths",
|
|
"file",
|
|
"dir",
|
|
"absolute",
|
|
"isabsolute",
|
|
"is-absolute",
|
|
"built-in",
|
|
"util",
|
|
"utils",
|
|
"core",
|
|
"ponyfill",
|
|
"polyfill",
|
|
"shim",
|
|
"is",
|
|
"detect",
|
|
"check"
|
|
],
|
|
"license": "MIT",
|
|
"maintainers": [
|
|
{
|
|
"email": "sindresorhus@gmail.com",
|
|
"name": "sindresorhus"
|
|
}
|
|
],
|
|
"name": "path-is-absolute",
|
|
"optionalDependencies": {},
|
|
"readme": "ERROR: No README data found!",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/sindresorhus/path-is-absolute.git"
|
|
},
|
|
"scripts": {
|
|
"test": "node test.js"
|
|
},
|
|
"version": "1.0.0"
|
|
}
|