Upgrade eslint to the latest version, v8 is EOL on 10/05.
The eslint.config.mjs is generated by eslint provided migration tool npx @eslint/migrate-config .eslintrc.js with some necessary manual fixes for backwards compatibility
Manually fixed some issue reported by the new version (mostly due to @typescript/eslint-plugin rule deprecations)
Description of changes
Upgrade eslint to the latest version, v8 is EOL on 10/05.
eslint.config.mjs
is generated by eslint provided migration toolnpx @eslint/migrate-config .eslintrc.js
with some necessary manual fixes for backwards compatibility@typescript/eslint-plugin
rule deprecations)Issue #, if available
Description of how you validated changes
yarn build && yarn lint && yarn test
Checklist
yarn test
passesChecklist for repo maintainers
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.