зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1812550 - Update most mozilla plugin eslint rules to use 'latest' parser versions. r=Gijs,devtools-reviewers
This updates everything except for linting of eslint-plugin-mozilla which needs to work with older node versions. Differential Revision: https://phabricator.services.mozilla.com/D186679
This commit is contained in:
Родитель
887e9c6fc3
Коммит
4e22b886bb
|
@ -29,7 +29,7 @@ module.exports = {
|
|||
},
|
||||
extends: ["prettier", "plugin:jest/recommended"],
|
||||
parserOptions: {
|
||||
ecmaVersion: 2016,
|
||||
ecmaVersion: "latest",
|
||||
sourceType: "module",
|
||||
ecmaFeatures: { jsx: true },
|
||||
|
||||
|
|
|
@ -15,6 +15,8 @@ module.exports = {
|
|||
},
|
||||
parser: "espree",
|
||||
parserOptions: {
|
||||
// This should match with the minimum node version that the ESLint CI
|
||||
// process uses (check the linux64-node toolchain).
|
||||
ecmaVersion: 12,
|
||||
},
|
||||
|
||||
|
|
|
@ -116,7 +116,7 @@ module.exports = {
|
|||
],
|
||||
|
||||
parserOptions: {
|
||||
ecmaVersion: 12,
|
||||
ecmaVersion: "latest",
|
||||
},
|
||||
|
||||
// When adding items to this file please check for effects on sub-directories.
|
||||
|
|
Загрузка…
Ссылка в новой задаче