Skip to content

feat(core): add ignore comment directives - #24

Merged
Peyton-Spencer merged 1 commit into
mainfrom
feat/ignore-comments
Jul 12, 2026
Merged

feat(core): add ignore comment directives#24
Peyton-Spencer merged 1 commit into
mainfrom
feat/ignore-comments

Conversation

@Peyton-Spencer

Copy link
Copy Markdown
Contributor

Summary

Add source comment directives for intentional Faircopy exceptions across every adapter. Suppression lives in the core runner, so Solid, React, Astro, and future adapters share the same behavior.

Changes

  • support faircopy-ignore-line and faircopy-ignore-next-line
  • support optional comma-separated rule IDs for narrow suppressions
  • document line, block, JSX, and HTML comment usage
  • add core regression coverage for line, next-line, and rule-specific behavior

Test plan

  • pnpm build
  • pnpm typecheck
  • pnpm test

@Peyton-Spencer
Peyton-Spencer merged commit dc4c686 into main Jul 12, 2026
1 check passed
github-actions Bot pushed a commit that referenced this pull request Jul 12, 2026
# [1.15.0](v1.14.0...v1.15.0) (2026-07-12)

### Features

* **core:** add ignore comment directives ([#24](#24)) ([dc4c686](dc4c686))
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 1.15.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant