From 36ac80e726c260e6d377f3b2e846ace24c6e4086 Mon Sep 17 00:00:00 2001 From: Zac Sweers Date: Fri, 3 May 2024 12:33:57 -0400 Subject: [PATCH] Prepare for release 0.7.3. --- CHANGELOG.md | 7 +++++++ gradle.properties | 2 +- .../src/main/java/slack/lint/mocking/AnyMockDetector.kt | 6 +++--- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d679d5f7..6bbbe2cf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,13 @@ Changelog ========= +0.7.3 +----- + +_2024-05-03_ + +- Fix `DoNotMockAnything` to use `setEnabledByDefault(false)`. + 0.7.2 ----- diff --git a/gradle.properties b/gradle.properties index 3233df29..28db7d80 100644 --- a/gradle.properties +++ b/gradle.properties @@ -36,4 +36,4 @@ POM_DEVELOPER_ID=slackhq POM_DEVELOPER_NAME=Slack Technologies, LLC. POM_DEVELOPER_URL=https://github.com/slackhq POM_INCEPTION_YEAR=2021 -VERSION_NAME=1.0.0-SNAPSHOT +VERSION_NAME=0.7.3 diff --git a/slack-lint-checks/src/main/java/slack/lint/mocking/AnyMockDetector.kt b/slack-lint-checks/src/main/java/slack/lint/mocking/AnyMockDetector.kt index 7862f9df..32d9f4ee 100644 --- a/slack-lint-checks/src/main/java/slack/lint/mocking/AnyMockDetector.kt +++ b/slack-lint-checks/src/main/java/slack/lint/mocking/AnyMockDetector.kt @@ -23,10 +23,10 @@ object AnyMockDetector : MockDetector.TypeChecker { """, Category.CORRECTNESS, 6, - // Off by default - Severity.IGNORE, + // Off by default though + Severity.ERROR, sourceImplementation(), - ) + ).setEnabledByDefault(false) override fun checkType( context: JavaContext,