Skip to content

chore: run prettier during lint#128

Merged
chenjiahan merged 1 commit intomainfrom
chenjiahan/chore-enable-prettier-lint
Apr 14, 2026
Merged

chore: run prettier during lint#128
chenjiahan merged 1 commit intomainfrom
chenjiahan/chore-enable-prettier-lint

Conversation

@chenjiahan
Copy link
Copy Markdown
Member

Summary

  • keep lint and formatting checks on the same path by running Prettier from pnpm lint
  • add a lint:fix script and normalize existing workflow, config, fixture, and test files so the new check passes consistently
  • rename the Renovate config to .json to align it with the repo formatting flow

Related Links

  • None

Copilot AI review requested due to automatic review settings April 14, 2026 11:10
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR aligns linting and formatting by running Prettier as part of pnpm lint, adds a lint:fix helper, and normalizes repository files so the new formatting check passes consistently.

Changes:

  • Update pnpm lint to run rslint and prettier --check; add lint:fix to auto-fix both.
  • Apply Prettier-driven formatting updates across tests, fixtures, workflow YAML, and editor settings.
  • Normalize Renovate config formatting.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
test/skills.test.ts Prettier formatting adjustments and lint suppression comments around any casts.
test/fixtures/agents-md/template-common/AGENTS.md Normalize Markdown spacing to match formatting expectations.
test/custom-tools.test.ts Add lint suppression comments for explicit any casts in mocks.
test/agents.test.ts Update expected AGENTS.md output formatting (blank lines).
package.json Run Prettier during lint; add lint:fix script.
.vscode/settings.json Prettier formatting normalization.
.github/workflows/test.yml Quote style normalization in YAML.
.github/workflows/release.yml Quote style normalization in YAML.
.github/renovate.json Remove trailing whitespace/newline artifact.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread package.json
@chenjiahan chenjiahan merged commit f9b7ed8 into main Apr 14, 2026
8 checks passed
@chenjiahan chenjiahan deleted the chenjiahan/chore-enable-prettier-lint branch April 14, 2026 11:14
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.

2 participants