Merge pull request #17658 from Snuffleupagus/ESLint-more-rules

Enable the `no-new-symbol` and `require-yield` ESLint rules
This commit is contained in:
Tim van der Meij 2024-02-11 13:50:33 +01:00 committed by GitHub
commit 440208daa6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -142,9 +142,10 @@
"no-lone-blocks": "error",
"no-lonely-if": "error",
"no-multi-str": "error",
"no-new-func": "error",
"no-new-wrappers": "error",
"no-new": "error",
"no-new-func": "error",
"no-new-symbol": "error",
"no-new-wrappers": "error",
"no-octal-escape": "error",
"no-octal": "error",
"no-redeclare": "error",
@ -257,6 +258,7 @@
"avoidQuotes": true,
}],
"prefer-const": "error",
"require-yield": "error",
"sort-imports": ["error", {
"ignoreCase": true,
}],