jethac opened a new issue, #42984:
URL: https://github.com/apache/superset/issues/42984

   ### Problem
   
   `superset-frontend/oxlint.json` sets both rules off:
   
   ```json
   "@typescript-eslint/no-explicit-any": "off",
   "@typescript-eslint/ban-ts-comment": "off"
   ```
   
   With them off there is no number for the `any` surface and no way to tell 
whether it is growing. A count of `: any` across `src`, `packages` and 
`plugins` returns **938** occurrences today, but that is a grep, not a 
measurement — it misses `as any`, `any[]`, generic parameters and suppressed 
regions, and nothing prevents the next PR adding more.
   
   ### Proposed change
   
   A ratchet rather than a flag day. Turn `no-explicit-any` on for the 
directories that are already free of it, so those cannot regress, and leave the 
rest reported but not blocking. That gives a real number to trend and makes the 
backlog shrink monotonically without asking anyone to fix 938 sites first.
   
   `ban-ts-comment` has the same shape: `@ts-ignore` without a description is 
what makes a suppression permanent, and requiring the description costs nothing 
on new code.
   
   Verified against `master` at `3539c41dab`.


-- 
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