Skip to content

refactor(setup): consolidate prettier config and streamline CI#458

Merged
gaomeng1900 merged 1 commit intomainfrom
refactor/ci-and-prettier
Apr 16, 2026
Merged

refactor(setup): consolidate prettier config and streamline CI#458
gaomeng1900 merged 1 commit intomainfrom
refactor/ci-and-prettier

Conversation

@gaomeng1900
Copy link
Copy Markdown
Collaborator

@gaomeng1900 gaomeng1900 commented Apr 16, 2026

What

Consolidate scattered .prettierignore files into a single root config and replace inline CI steps with scripts/ci.js.

Type

  • Breaking change
  • Bug fix
  • Feature / Improvement
  • Refactor / Chores
  • Documentation / Website / Demo / Testing

Testing

  • Tested in modern browsers
  • No console errors
  • Types/doc added

Automated validation ran in this session:

  • npx eslint . — passed
  • npx prettier --check . — passed
  • npm run build — passed (all 7 tasks)

Requirements / 要求

  • I have read and follow the Code of Conduct and Contributing Guide . / 我已阅读并遵守行为准则。
  • This PR is NOT generated by a bot or AI agent acting autonomously. I have authored or meaningfully reviewed every change. / 此 PR 不是由 bot 或 AI 自主生成的,我已亲自编写或充分审查了每一处变更。

- Replace scattered .prettierignore files with a single root config
- Add scripts/ci.js to orchestrate lint, format, typecheck, commitlint, and build
- Simplify ci.yml to use ci.js and npm ci
- Apply prettier formatting to docs, locales, and HTML files
@gaomeng1900 gaomeng1900 force-pushed the refactor/ci-and-prettier branch from 95fba91 to 5809fe3 Compare April 16, 2026 09:04
@gaomeng1900 gaomeng1900 merged commit 6afd3dc into main Apr 16, 2026
4 checks passed
@gaomeng1900 gaomeng1900 deleted the refactor/ci-and-prettier branch April 16, 2026 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant