• Will Chen's avatar
    Upgrade oxlint and enable recommended rules (#2270) · 5894cc77
    Will Chen 提交于
    - Upgrade oxlint from v1.8.0 to v1.41.0
    - Enable correctness, suspicious, and perf categories for better code
    quality checks
    - Disable overly pedantic style rules (sort-keys, sort-imports,
    no-ternary, etc.)
    - Add JSON schema reference for IDE support
    
    #skip-bugbot
    
    <!-- This is an auto-generated description by cubic. -->
    ---
    ## Summary by cubic
    Upgrade oxlint to v1.41.0 and enable only the correctness rule category
    to catch real issues while keeping suspicious and perf off. Added a JSON
    schema reference in .oxlintrc for IDE support.
    
    - **Dependencies**
      - Bump oxlint to ^1.41.0.
      - oxlint now requires Node ^20.19.0 or >=22.12.0.
    
    - **Migration**
      - Update CI and local Node to meet the new requirement.
      - Run lint; expect new warnings from correctness rules.
    
    <sup>Written for commit f182e37e55dfa51ab2b97225f899a7cf1a4d6f46.
    Summary will update on new commits.</sup>
    
    <!-- End of auto-generated description by cubic. -->
    
    ---------
    Co-authored-by: 's avatarClaude <noreply@anthropic.com>
    5894cc77
.oxlintrc.json 296 Bytes