Bug 1875027 - Remove deprecated ESLint rule no-return-await. r=mossop

Eslint has now deprecated the rule.

Depends on D198777

Differential Revision: https://phabricator.services.mozilla.com/D198778
This commit is contained in:
Mark Banner 2024-01-17 09:51:30 +00:00
Родитель a8abfad9b0
Коммит 80ddb3d9c2
2 изменённых файлов: 0 добавлений и 5 удалений

Просмотреть файл

@ -414,7 +414,6 @@ module.exports = {
"no-new-wrappers": "off",
"no-redeclare": "off",
"no-restricted-globals": "off",
"no-return-await": "off",
"no-sequences": "off",
"no-throw-literal": "off",
"no-useless-concat": "off",
@ -479,7 +478,6 @@ module.exports = {
"no-new-object": "off",
"no-new-wrappers": "off",
"no-redeclare": "off",
"no-return-await": "off",
"no-restricted-globals": "off",
"no-shadow": "off",
"no-sparse-arrays": "off",

Просмотреть файл

@ -293,9 +293,6 @@ module.exports = {
// Disallow use of event global.
"no-restricted-globals": ["error", "event"],
// Disallows unnecessary `return await ...`.
"no-return-await": "error",
// No unnecessary comparisons
"no-self-compare": "error",