Skip to content

Flag redundant allowed classes within required in the linter#1145

Merged
rmondello merged 1 commit into
apple:mainfrom
rmondello:main
Jul 21, 2026
Merged

Flag redundant allowed classes within required in the linter#1145
rmondello merged 1 commit into
apple:mainfrom
rmondello:main

Conversation

@rmondello

Copy link
Copy Markdown
Contributor

This will save reviewers having to catch this not uncommon mistake in the future. Example output:

example.com: required: digit; allowed: digit;
Redundant in allowed: (already covered by required:): digit
Remove digit from the allowed: list — required classes are implicitly allowed.

Overall Checklist

This will save reviewers having to catch this not uncommon mistake in the future. Example output:

example.com: required: digit; allowed: digit;
  Redundant in `allowed:` (already covered by `required:`): digit
  Remove `digit` from the `allowed:` list — required classes are implicitly allowed.
@rmondello
rmondello merged commit eeae7f8 into apple:main Jul 21, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants