Skip to content

Commit

Permalink
Issue mozilla-mobile#11864: Configure MagicNumber to ignorePropertyDe…
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielluong committed Mar 15, 2022
1 parent 35a38b5 commit 7780a31
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import androidx.compose.ui.graphics.Color
* _"Firefox colors are bold, vibrant and attractive. They enhance the experience by providing visual
* clues and by bringing attention to primary actions."_
*/
@Suppress("MagicNumber") // It's a kind of magic ✨
object PhotonColors {
// Firefox Blue is one of our primary colors. We use blue as accent color for highlighting buttons,
// links and active states like the current tab in Firefox for desktop.
Expand Down
2 changes: 1 addition & 1 deletion config/detekt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ style:
- '1'
- '2'
ignoreHashCodeFunction: true
ignorePropertyDeclaration: false
ignorePropertyDeclaration: true
ignoreLocalVariableDeclaration: false
ignoreConstantDeclaration: true
ignoreCompanionObjectPropertyDeclaration: true
Expand Down

0 comments on commit 7780a31

Please sign in to comment.