diff --git a/.github/workflows/detekt.yml b/.github/workflows/detekt.yml index 2b22422..c4d6ee1 100644 --- a/.github/workflows/detekt.yml +++ b/.github/workflows/detekt.yml @@ -37,7 +37,7 @@ jobs: - name: Run Detekt continue-on-error: true - run: gradle :app:detekt + run: gradle :app:detekt --no-daemon - uses: github/codeql-action/upload-sarif@v2 with: diff --git a/app/config/detekt.yml b/app/config/detekt.yml index c7b9058..79244cb 100644 --- a/app/config/detekt.yml +++ b/app/config/detekt.yml @@ -739,6 +739,7 @@ style: UnusedPrivateMember: active: true allowedNames: '' + ignoreAnnotated: ['Preview'] UnusedPrivateProperty: active: true allowedNames: '_|ignored|expected|serialVersionUID'