chore: widen prettier + eslint globs to test/ and .github/#19
Merged
Conversation
format / format:check / lint / lint:fix now cover test/ and .github/ in addition to src/. Catches formatting drift in test fixtures, GitHub issue/PR templates, and workflow YAMLs that previously slipped through because lint-staged is the only thing that ran prettier on those paths on commit. Pure tooling change — no source edits. `chore:` won't trigger a release per .releaserc.json's rules.
|
🎉 This PR is included in version 0.7.5 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Last item from the latest audit batch — Round J chore-tier: format/lint scripts now cover
test/and.github/in addition tosrc/.Previously, the only thing running prettier on
test/**/*.tsand.github/**/*.{yml,md}was lint-staged (on commit). CI'sformat:checkglob didn't include them, so a hand-edited workflow YAML or a test fixture could ship with formatting drift and CI would still pass. Lint had the same gap fortest/**/*.ts.No source edits, no formatting changes were needed (everything already matched).
chore:doesn't trigger a release per.releaserc.jsonrules.Test plan
yarn format(no changes)yarn format:checkyarn lintyarn typecheckyarn test(26)