villebro opened a new pull request, #34520: URL: https://github.com/apache/superset/pull/34520
### SUMMARY When I started cleaning up the extensions draft PR with `pre-commit run --all-files`, I noticed lots of unrelated warnings/errors. This is the first of a few more to clean those unrelated errors. On the docs, we've upgraded to ESLint v9, but we're still using an option `--ext` in our `eslint` command that's been removed in v9. See discussion on the changes here: https://github.com/eslint/eslint/issues/17931#issuecomment-1873432288. ### BEFORE ``` $ yarn eslint Invalid option '--ext' - perhaps you meant '-c'? You're using eslint.config.js, some command line flags are no longer available. Please see https://eslint.org/docs/latest/use/command-line-interface for details. error Command failed with exit code 2. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. Command failed: node /Users/ville/.yvm/versions/v1.22.22/bin/yarn.js eslint ``` ### AFTER ``` yarn run v1.22.22 $ eslint . ✨ Done in 0.91s. ``` ### TESTING INSTRUCTIONS <!--- Required! What steps can be taken to manually verify the changes? --> ### ADDITIONAL INFORMATION <!--- Check any relevant boxes with "x" --> <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue --> - [ ] Has associated issue: - [ ] Required feature flags: - [ ] Changes UI - [ ] Includes DB Migration (follow approval process in [SIP-59](https://github.com/apache/superset/issues/13351)) - [ ] Migration is atomic, supports rollback & is backwards-compatible - [ ] Confirm DB migration upgrade and downgrade tested - [ ] Runtime estimates and downtime expectations provided - [ ] Introduces new feature or API - [ ] Removes existing feature or API -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
