Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Commit

Permalink
Issue #11864: Configure MagicNumber to ignorePropertyDeclaration to true
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielluong authored and mergify[bot] committed Mar 24, 2022
1 parent fbb0fea commit 067eb3c
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 067eb3c

Please sign in to comment.