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

feat: add the ability to ignore comment disables #1091

Merged
merged 1 commit into from
Feb 10, 2023
Merged

feat: add the ability to ignore comment disables #1091

merged 1 commit into from
Feb 10, 2023

Conversation

toumorokoshi
Copy link
Contributor

For strict enforcement of AIPs across an organization, it's valuable to disable the ability to have text in the proto disable linter rules.

@toumorokoshi toumorokoshi requested a review from a team as a code owner February 10, 2023 18:40
Copy link
Collaborator

@shwoodard shwoodard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a test in lint_test.go similar to this?

cmd/api-linter/cli.go Outdated Show resolved Hide resolved
lint/lint.go Outdated Show resolved Hide resolved
cmd/api-linter/integration_test.go Outdated Show resolved Hide resolved
cmd/api-linter/integration_test.go Outdated Show resolved Hide resolved
lint/rule_enabled.go Show resolved Hide resolved
@toumorokoshi
Copy link
Contributor Author

Add a test in lint_test.go similar to this?

This feels a little redundant to me to be honest (the integration test exercises this path), but I can add it.

For strict enforcement of AIPs across an organization, it's
valuable to disable the ability to have text in the proto
disable linter rules.
@toumorokoshi
Copy link
Contributor Author

@shwoodard I think I addresses all of your comments. PTAL.

@toumorokoshi toumorokoshi merged commit f1b5100 into googleapis:main Feb 10, 2023
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.

3 participants