Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 54977069 authored by Rafael Tonholo's avatar Rafael Tonholo
Browse files

chore(detekt): add `Preview` related exclusions

parent 5e6de712
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -129,6 +129,10 @@ complexity:
  LongMethod:
    active: true
    threshold: 60
    ignoreAnnotated:
      - 'Preview'
      - 'PreviewLightDark'
      - 'PreviewLightDarkLandscape'
  LongParameterList:
    active: true
    functionThreshold: 8
@@ -622,6 +626,8 @@ style:
    ignoreAnnotation: false
    ignoreAnnotated:
      - 'Preview'
      - 'PreviewLightDark'
      - 'PreviewLightDarkLandscape'
    ignoreNamedArgument: true
    ignoreEnums: false
    ignoreRanges: false
@@ -740,11 +746,17 @@ style:
  UnusedPrivateMember:
    active: true
    allowedNames: ''
    ignoreAnnotated:
      - 'Preview'
      - 'PreviewLightDark'
      - 'PreviewLightDarkLandscape'
  UnusedPrivateProperty:
    active: true
    allowedNames: '_|ignored|expected|serialVersionUID'
    ignoreAnnotated:
      - 'Preview'
      - 'PreviewLightDark'
      - 'PreviewLightDarkLandscape'
  UseAnyOrNoneInsteadOfFind:
    active: true
  UseArrayLiteralsInAnnotations: