• Will Chen's avatar
    Replace prettier with oxfmt for faster formatting (#2313) · 29028f65
    Will Chen 提交于
    ## Summary
    - Swap prettier for oxfmt in devDependencies for faster formatting
    - Rename scripts: prettier -> fmt, prettier:check -> fmt:check
    - Update lint-staged to use oxfmt
    - Update CLAUDE.md and skill docs to reference npm run fmt
    
    ## Test plan
    - [x] Run npm run fmt to verify formatting works
    - [x] Run npm run fmt:check to verify check mode works
    - [x] Verify lint-staged runs oxfmt on commit
    
    #skip-bugbot
    
    <!-- This is an auto-generated description by cubic. -->
    ---
    ## Summary by cubic
    Replaced Prettier with oxfmt for faster formatting. Updated to oxfmt
    0.26.0, added a project config, renamed scripts to fmt and fmt:check,
    and refreshed docs; oxfmt’s new rules applied compact formatting across
    many files.
    
    - **Migration**
      - Use npm run fmt and npm run fmt:check in local workflows and CI.
      - lint-staged now formats with oxfmt on commit.
      - Requires Node 20.19+ or 22.12+.
    
    <sup>Written for commit a9e3812b02849f8d6357913113fca68ca8b4fcbc.
    Summary will update on new commits.</sup>
    
    <!-- End of auto-generated description by cubic. -->
    
    ---------
    Co-authored-by: 's avatarClaude Opus 4.5 <noreply@anthropic.com>
    29028f65
VertexConfiguration.tsx 4.6 KB