fix(rules): update SD004 to accept canonical .machine_readable/ layout - #701
Merged
Conversation
Fixes for issue #426: SD004 rule was enforcing the retired .machine_readable/6a2/ layout while the current standards specify .machine_readable/ as the canonical location. Changes: 1. Added ANCHOR.a2ml to @a2ml_state_files (completes the seven canonical files) 2. Updated docstring to reflect new canonical location 3. Changed wrong_locations: now flags .machine_readable/6a2/ as wrong (not .machine_readable/) 4. Updated reason and target path to point to .machine_readable/ directly This eliminates false positives for repos using the current canonical layout. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
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.
Fixes for issue #426:
SD004 rule was enforcing the retired .machine_readable/6a2/ layout while the current standards specify .machine_readable/ as the canonical location.
Changes:
This eliminates false positives for repos using the current canonical layout (gitbot-fleet#249, gitbot-fleet#254).
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe vibe@mistral.ai