• 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
名称
最后提交
最后更新
..
public 正在载入提交数据...
src 正在载入提交数据...
.gitignore 正在载入提交数据...
AI_RULES.md 正在载入提交数据...
README.md 正在载入提交数据...
components.json 正在载入提交数据...
eslint.config.js 正在载入提交数据...
index.html 正在载入提交数据...
package.json 正在载入提交数据...
pnpm-lock.yaml 正在载入提交数据...
postcss.config.js 正在载入提交数据...
tailwind.config.ts 正在载入提交数据...
tsconfig.app.json 正在载入提交数据...
tsconfig.json 正在载入提交数据...
tsconfig.node.json 正在载入提交数据...
vercel.json 正在载入提交数据...
vite.config.ts 正在载入提交数据...