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

Use setEnableByDefault instead for M2ApiDetector #81

Merged
merged 1 commit into from
Mar 8, 2023

Conversation

ZacSweers
Copy link
Collaborator

Resolves #80. Somewhat misleading from the lint API to say that severity isn't valid since it's one of the listed ones, but this better accomplishes the initial goal. One thing I'm not sure about is how to enable in lint.xml with this, and sort of assuming it's by just listing the issue in it with a severity.

Resolves #80. Somewhat misleading from the lint API to say that severity isn't valid since it's one of the listed ones, but this better accomplishes the initial goal. One thing I'm not sure about is how to enable in `lint.xml` with this, and sort of assuming it's by just listing the issue in it with a severity.
@ZacSweers ZacSweers requested a review from chrisbanes March 8, 2023 17:39
Copy link
Collaborator

@chrisbanes chrisbanes left a comment

Choose a reason for hiding this comment

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

Nice. That's better anyway imo.

@ZacSweers ZacSweers added this pull request to the merge queue Mar 8, 2023
Merged via the queue into main with commit c3d54e3 Mar 8, 2023
@ZacSweers ZacSweers deleted the z/enableByDefaultFalse branch March 8, 2023 17:47
@ZacSweers
Copy link
Collaborator Author

Tested the snapshot in catchup and looks like I was right about lint.xml but wrong about gradle. Severity is needed in lint.xml, even if it seems redundant. Same in Gradle, otherwise it's (weirdly) just a warning.

Will update the doc with the release

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.

Warning in log
2 participants