Repository navigation
quality: standard tier is the tool default for errorprone, pmd, spotbugs, detekt, wartremover, roslyn (part of #15298) - #15703
Closed
TrapsterDK wants to merge 2 commits into
Closed
TrapsterDK wants to merge 2 commits into
TrapsterDK wants to merge 2 commits into
Conversation
…ugs, detekt, wartremover, roslyn (part of #15298)
Collaborator
Author
|
Superseded by #15708: one strict config, no tiers. |
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.
Standard tier is each tool's own out-of-the-box default; strict is unchanged and stays a superset.
Per tool (standard, added vs default / removed vs default):
-XepDisableAllWarnings. The file is now empty, so default checks at default severities run. The javac check worker now loads the plugin when anerrorpronefile is given even if it is empty (it skipped the plugin before). https://errorprone.info/docs/flagsrulesets/java/quickstart.xmlinstead of an 84-rule list. https://docs.pmd-code.org/pmd-doc-7.29.0/pmd_userdocs_making_rulesets.html-lowwhenever a filter is bound; with it standard equals the default medium threshold. https://spotbugs.readthedocs.io/en/stable/running.htmlactive:flags flipped; standard is now semantically identical to the jar'sdefault-detekt-config.yml. https://github.com/detekt/detekt/blob/v1.23.8/detekt-core/src/main/resources/default-detekt-config.ymldotnet_diagnosticlines (SDK Recommended CA set, IDE warnings) andEnforceCodeStyleInBuild; the globalconfig is now onlyis_global = true. https://learn.microsoft.com/dotnet/fundamentals/code-analysis/overviewStrict: not changed. Strict error prone uses
-XepAllErrorsAsWarnings, so default errors are reported as warnings there and still fail under-Werror. No default rule is disabled in strict.Tests: jvm_tiers_test.rs, JavacCheckTest.java, CheckTestSupport.java and csharp profiles_test.rs now assert behavior against the default (a default warning fires in standard, warts only in strict, strict keeps every quickstart and default-active rule). Removed
pmd_standard_tier_covers_unused_codefrom real_tools.rs because it pinned the old rule list, and the unusedsdk_recommendedrule. Not built or run; a verify pass follows.Docs: java, kotlin and scala READMEs and their generated language pages. docs/tiers-standard.md does not list these tools, so it is untouched.
🤖 Generated with Claude Code
https://claude.ai/code/session_01Xut2hxb7tMzRqzVaKmAvVT