KristiDodaj opened a new pull request, #44988:
URL: https://github.com/apache/superset/pull/44988

   ### SUMMARY
   
   Promote `react/jsx-filename-extension` from `warn` to `error` so new 
filename violations fail lint checks. The codebase has no violations of this 
rule; allowed extensions remain `.jsx` and `.tsx`.
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   
   N/A — lint configuration change.
   ### TESTING INSTRUCTIONS
   
   1. From `superset-frontend`, run `npm run lint` and confirm it passes.
   2. Temporarily add a `.js` file containing JSX and confirm lint fails, then 
remove the file.
   
   Validated with Oxlint 1.85.0 against upstream commit `68f19947a8`: 4,052 
files checked, zero rule violations, and identical diagnostics before and after 
the change. Temporary probes confirmed `.js` fails while `.jsx` and `.tsx` 
pass. Changed-file pre-commit checks also passed.
   ### ADDITIONAL INFORMATION
   - [ ] 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]

Reply via email to