mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-06 08:40:56 +00:00

The babel-eslint parser defaults to assuming all scripts are modules. Although we're moving in that direction it seems reasonable to set the default as regular scripts for now. All the places that were previously overriding the parser are already specifying the sourceType in their eslint configs. I chose to put the babel config in a file that babel itself won't look to avoid the risk of this config impacting the use of babel elsewhere in the tree. Differential Revision: https://phabricator.services.mozilla.com/D66127 --HG-- extra : moz-landing-system : lando
32 lines
1.1 KiB
JSON
32 lines
1.1 KiB
JSON
{
|
|
"name": "mozilla-central",
|
|
"description": "This package file is for node modules used in mozilla-central",
|
|
"repository": {},
|
|
"license": "MPL-2.0",
|
|
"dependencies": {},
|
|
"devDependencies": {
|
|
"@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3",
|
|
"@babel/plugin-syntax-optional-chaining": "^7.8.3",
|
|
"babel-eslint": "10.1.0",
|
|
"eslint": "6.8.0",
|
|
"eslint-config-prettier": "6.10.0",
|
|
"eslint-plugin-babel": "5.3.0",
|
|
"eslint-plugin-fetch-options": "0.0.5",
|
|
"eslint-plugin-file-header": "0.0.1",
|
|
"eslint-plugin-flowtype": "4.6.0",
|
|
"eslint-plugin-html": "6.0.0",
|
|
"eslint-plugin-import": "2.20.1",
|
|
"eslint-plugin-jest": "22.21.0",
|
|
"eslint-plugin-jsx-a11y": "6.2.3",
|
|
"eslint-plugin-mozilla": "file:tools/lint/eslint/eslint-plugin-mozilla",
|
|
"eslint-plugin-no-unsanitized": "3.0.2",
|
|
"eslint-plugin-prettier": "3.1.2",
|
|
"eslint-plugin-react": "7.18.3",
|
|
"eslint-plugin-spidermonkey-js": "file:tools/lint/eslint/eslint-plugin-spidermonkey-js",
|
|
"prettier": "1.19.1",
|
|
"yarn": "1.22.0"
|
|
},
|
|
"notes(private)": "We don't want to publish to npm, so this is marked as private",
|
|
"private": true
|
|
}
|