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>
94 lines
2.1 KiB
JSON
94 lines
2.1 KiB
JSON
{
|
|
"_args": [
|
|
[
|
|
"exit-hook@^1.0.0",
|
|
"/Users/trott/test/node_modules/eslint/node_modules/restore-cursor"
|
|
]
|
|
],
|
|
"_from": "exit-hook@>=1.0.0 <2.0.0",
|
|
"_id": "exit-hook@1.1.1",
|
|
"_inCache": true,
|
|
"_installable": true,
|
|
"_location": "/eslint/exit-hook",
|
|
"_npmUser": {
|
|
"email": "sindresorhus@gmail.com",
|
|
"name": "sindresorhus"
|
|
},
|
|
"_npmVersion": "1.4.9",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"name": "exit-hook",
|
|
"raw": "exit-hook@^1.0.0",
|
|
"rawSpec": "^1.0.0",
|
|
"scope": null,
|
|
"spec": ">=1.0.0 <2.0.0",
|
|
"type": "range"
|
|
},
|
|
"_requiredBy": [
|
|
"/eslint/restore-cursor"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/exit-hook/-/exit-hook-1.1.1.tgz",
|
|
"_shasum": "f05ca233b48c05d54fff07765df8507e95c02ff8",
|
|
"_shrinkwrap": null,
|
|
"_spec": "exit-hook@^1.0.0",
|
|
"_where": "/Users/trott/test/node_modules/eslint/node_modules/restore-cursor",
|
|
"author": {
|
|
"email": "sindresorhus@gmail.com",
|
|
"name": "Sindre Sorhus",
|
|
"url": "http://sindresorhus.com"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/sindresorhus/exit-hook/issues"
|
|
},
|
|
"dependencies": {},
|
|
"description": "Run some code when the process exits",
|
|
"devDependencies": {
|
|
"ava": "0.0.4"
|
|
},
|
|
"directories": {},
|
|
"dist": {
|
|
"shasum": "f05ca233b48c05d54fff07765df8507e95c02ff8",
|
|
"tarball": "http://registry.npmjs.org/exit-hook/-/exit-hook-1.1.1.tgz"
|
|
},
|
|
"engines": {
|
|
"node": ">=0.10.0"
|
|
},
|
|
"files": [
|
|
"index.js"
|
|
],
|
|
"homepage": "https://github.com/sindresorhus/exit-hook",
|
|
"keywords": [
|
|
"exit",
|
|
"quit",
|
|
"process",
|
|
"hook",
|
|
"graceful",
|
|
"handler",
|
|
"shutdown",
|
|
"sigterm",
|
|
"sigint",
|
|
"terminate",
|
|
"kill",
|
|
"stop",
|
|
"event"
|
|
],
|
|
"license": "MIT",
|
|
"maintainers": [
|
|
{
|
|
"email": "sindresorhus@gmail.com",
|
|
"name": "sindresorhus"
|
|
}
|
|
],
|
|
"name": "exit-hook",
|
|
"optionalDependencies": {},
|
|
"readme": "ERROR: No README data found!",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/sindresorhus/exit-hook.git"
|
|
},
|
|
"scripts": {
|
|
"test": "node test.js"
|
|
},
|
|
"version": "1.1.1"
|
|
}
|