🛠 Repo: Bump ESLint config languageOptions.ecmaVersion to >=2020
JoshuaKGoldberg opened this issue · comments
Josh Goldberg ✨ commented
Tooling Suggestion Checklist
- I have tried restarting my IDE and the issue persists.
- I have pulled the latest
master
branch of the repository. - I have read and agree to Mocha's Code of Conduct and Contributing Guidelines
- I have searched for related issues and issues with the
faq
label, but none matched my issue. - I want to provide a PR to resolve this
Overview
Line 15 in 51502ab
Mocha supports Node 14. Which, per https://github.com/tsconfig/bases/blob/8fee7129ada13c7c779472ebb29130fa9581cf1c/bases/node14.json, means we can support ES2020 in internal linting. Yay!
Additional Info
Context: #4829 (comment).