Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new lint rule flavor, @location_rule #26191

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

jabraham17
Copy link
Member

@jabraham17 jabraham17 commented Oct 31, 2024

Adds a new chplcheck lint rule flavor, called @location_rule. This allows rule authors and users to write purely text based lint rules.

This PR then uses that functionality to implement a proper LineLength lint rule that defaults to 80 characters, but can be configured as users desire.

Subsumes #25938 and resolves #25220

TODO: rebase and document @location_rule, add test for --check-internal-prefix

[Reviewed by @]

Signed-off-by: Jade Abraham <[email protected]>
Signed-off-by: Jade Abraham <[email protected]>
Signed-off-by: Jade Abraham <[email protected]>
Signed-off-by: Jade Abraham <[email protected]>
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.

[Feature Request]: Lint rule for line length
1 participant