mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-24 02:35:41 +00:00
b8e9cadef9
Editors generally look for configurations at the top level of a project. For ESLint, they also look for the specific binary in node_modules before defaulting to the system binary. Whilst you can override the location, generally it doesn't work well when switching between projects. The custom in-tree libraries make setup of a system ESLint more difficult as well. Therefore to make it simple for developers to pick up the ESLint integrations with Editors, by moving the package.json and associated node_modules to the top-level directory. MozReview-Commit-ID: 1pQpd7hTQ61 --HG-- rename : tools/lint/eslint/npm-shrinkwrap.json => npm-shrinkwrap.json rename : tools/lint/eslint/package.json => package.json extra : rebase_source : 9d69d791f86b5c55b1fcd5f6449f0ab84e56b05c
17 lines
415 B
JSON
17 lines
415 B
JSON
{
|
|
"name": "Mozilla ESLint Setup",
|
|
"description": "This package file is for setup of ESLint only for editor integration.",
|
|
"repository": {},
|
|
"license": "MPL-2.0",
|
|
"dependencies": {
|
|
"eslint": "3.18.0",
|
|
"eslint-plugin-html": "1.5.2",
|
|
"eslint-plugin-react": "4.2.3",
|
|
"escope": "^3.6.0",
|
|
"espree": "^3.4.0",
|
|
"estraverse": "^4.2.0",
|
|
"ini-parser": "^0.0.2",
|
|
"sax": "^1.2.2"
|
|
}
|
|
}
|