-
- Downloads
Bug 1617959: Switch to the babel-eslint parser and turn on support for...
Bug 1617959: Switch to the babel-eslint parser and turn on support for optional chaining and nullish coalescing operator syntaxes. r=Standard8 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
Showing
- .babel-eslint.rc.js 6 additions, 0 deletions.babel-eslint.rc.js
- .eslintrc.js 7 additions, 0 deletions.eslintrc.js
- browser/components/newtab/.eslintrc.js 0 additions, 1 deletionbrowser/components/newtab/.eslintrc.js
- devtools/client/debugger/.eslintrc.js 0 additions, 1 deletiondevtools/client/debugger/.eslintrc.js
- package-lock.json 43 additions, 19 deletionspackage-lock.json
- package.json 2 additions, 0 deletionspackage.json
- tools/lint/eslint/manifest.tt 2 additions, 2 deletionstools/lint/eslint/manifest.tt
Loading
Please register or sign in to comment