docs: split code-style rules into per-rule files - #5543
Merged
Conversation
Move code conventions out of AGENTS.md into ai-context/code-style/, one ESLint-style rule per file with an index README. AGENTS.md Code section now points to the folder. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V1gz6gxTdC93NRVUvU5kJW
…ebiny-js into adrian/code-style-rules
…mple - Move the CSS class-name (cn helper) rule out of AGENTS.md into ai-context/code-style/compose-css-class-names.md. - Fix one-import-per-line example: formatter had collapsed the Good block to match Bad; now shows one import per line. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The next-branch rule dropped during the merge; move it into its own rule file to match the per-rule pattern. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Member
Author
|
/vitest |
|
Vitest tests have been initiated (for more information, click here). ✨
|
# Conflicts: # AGENTS.md
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
AGENTS.md## Codeintoai-context/code-style/, one ESLint-style rule per file (do this / don't do this).ai-context/code-style/README.mdas the index.AGENTS.md## Codenow just points to the folder + keeps the "rungit add ." workflow bullet.Rules split out
comments.md,es-modules.md,one-import-per-line.md,one-class-per-file.md,no-backwards-compat.md,no-console-in-backend.md,no-inline-class-in-create-implementation.mdDocs-only change.
🤖 Generated with Claude Code