Migrate tidy/lint to precious#82
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Contributors run `scripts/pre-commit --init` once per clone to install the hook. It runs `precious lint --staged` and blocks direct commits to the master branch. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.
Lands precious as the canonical tidy/lint driver for this distribution, via the
kitchen-sink:tune-preciousrecipe. Each transform is its own commit so any single change is independently revertable.What changed
precious: add canonical configprecious.toml(perltidy, perlvars, omegasort-gitignore) +[PruneFiles]so it stays out of the CPAN tarballperltidy: consolidate profile to .perltidyrc and drop -bgit mv perltidyrc .perltidyrc; stripped standalone-b(precious manages backups)tidyall: delete config files and ignore entriestidyall.iniline from.gitignoredist.ini: add App::perlvars develop prereq for preciousApp::perlvarsto[Prereqs / DevelopRequires]ci: add precious lint job.github/workflows/lint.ymlrunningprecious lint --allhooks: add scripts/pre-commit for precious lintscripts/pre-commit(runscripts/pre-commit --initonce per clone); pruned from the distScope decisions
precious.toml:perltidy,perlvars,omegasort-gitignore.perlcritic(no enforcement remained —Test::Perl::Criticis already-removed in the bundle, no.perlcriticrc),typos(no typos config),omegasort-stopwords(no.stopwords).[RemovePrereqs]needed — the@Author::OALDERSbundle already removes the tidyall plugins/prereqs.Verification
precious config listpasses (kebab-case keys throughout).lint.ymlparses;branches: [master];projects:= precious + omegasort; all action tags resolve (checkout@v7,actions-setup-perl@v1,install-ubi-action@v0.0.6,install-with-cpm@v2).dzil build --no-tgzclean;precious.toml,.perltidyrc, andscripts/pre-commitall confirmed absent from the built dist.scripts/pre-commitis executable withdefault_branch="master".Note
Contributors run
scripts/pre-commit --initonce per clone to activate the hook.🤖 Generated with Claude Code