codeant-ai-for-open-source[bot] commented on PR #37885:
URL: https://github.com/apache/superset/pull/37885#issuecomment-3885503244
## **Sequence Diagram**
This PR tightens linting (unicorn no-new-array, TS no-use-before-define, and
react-effect rules) and fixes code by replacing new Array(...) patterns with
Array.from / repeat / for-loops so linting passes in CI.
```mermaid
sequenceDiagram
participant Dev
participant Repo
participant Linter
participant CI
Dev->>Repo: Update ESLint rules (.eslintrc / oxlint) and edit files
(replace new Array(...) patterns)
Repo-->>Dev: Commit & push changes
CI->>Repo: Trigger pipeline on push
CI->>Linter: Run lint checks (unicorn/no-new-array, TS rules,
react-effect rules)
Linter-->>CI: Lint passes (code uses Array.from, String.repeat,
for-loops)
CI-->>Repo: Merge/accept changes (PR completes)
```
---
*Generated by [CodeAnt AI](https://codeant.ai)*
--
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]