Skip to content

Commit

Permalink
Fix baseline-idea inspection configuration (#1530)
Browse files Browse the repository at this point in the history
Fix baseline-idea inspection configuration
  • Loading branch information
carterkozak authored Nov 2, 2020
1 parent a457b7f commit 73ff965
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions changelog/@unreleased/pr-1530.v2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
type: fix
fix:
description: Fix baseline-idea inspection configuration
links:
- https://github.com/palantir/gradle-baseline/pull/1530
Original file line number Diff line number Diff line change
Expand Up @@ -356,14 +356,15 @@ class BaselineIdea extends AbstractBaselinePlugin {
node.append(new XmlParser().parseText("""
<component name="InspectionProjectProfileManager">
<profile version="1.0">
<option name="myName" value="Project Default" />
<inspection_tool class="MissingOverrideAnnotation" enabled="true" level="WARNING" enabled_by_default="true">
<option name="ignoreObjectMethods" value="false" />
<option name="ignoreAnonymousClassMethods" value="false" />
</inspection_tool>
<inspection_tool class="PlaceholderCountMatchesArgumentCount" enabled="false" level="WARNING" enabled_by_default="false" />
</profile>
<option name="PROJECT_PROFILE" value="Default" />
<option name="PROJECT_PROFILE" value="Project Default" />
<option name="USE_PROJECT_PROFILE" value="true" />
</component>
""".stripIndent()))
Expand Down

0 comments on commit 73ff965

Please sign in to comment.