Add lint:fix Commands and Update Agent Guidance#1329
Open
jamesricky wants to merge 3 commits intomainfrom
Open
Add lint:fix Commands and Update Agent Guidance#1329jamesricky wants to merge 3 commits intomainfrom
lint:fix Commands and Update Agent Guidance#1329jamesricky wants to merge 3 commits intomainfrom
Conversation
lint:fix Commands and Update Agent Guidance
johnnyomair
previously approved these changes
Mar 10, 2026
Collaborator
johnnyomair
left a comment
There was a problem hiding this comment.
We should add this in core as well.
Contributor
Author
👍🏼 I'll create a PR |
Contributor
Author
|
thomasdax98
previously approved these changes
Mar 13, 2026
we should also recycle the eslint script here (see vivid-planet/comet#5303 (comment))
thomasdax98
approved these changes
Mar 16, 2026
johnnyomair
reviewed
Mar 17, 2026
Collaborator
johnnyomair
left a comment
There was a problem hiding this comment.
Should we add a lint:fix script for create-app as well?
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.
Description
Previously there was no consistent way to auto-fix linting and formatting issues — only lint check commands existed.
This adds
lint:fixscripts to api, admin, and site, as well as a root-level script that runs all three in parallel.Each script wires together ESLint
--fix,Prettier--write, and (for site) stylelint--fix.AGENTS.mdis updated to document these commands and to instruct agents to runlint:fixafter making code changes, keeping the codebase consistently formatted without manual intervention.