Skip to content

Commit

Permalink
fix: Add Net_Packet_Type to exemptions for -Wlarge-struct-params.
Browse files Browse the repository at this point in the history
  • Loading branch information
iphydf committed Apr 15, 2022
1 parent 8b75201 commit f63b737
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/Tokstyle/Linter/LargeStructParams.hs
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@ exemptions :: [Text]
exemptions =
[ "Family"
, "IP4"
, "Logger_Level"
, "Onion_Connection_Status"
, "Logger_Level" -- enum
, "Net_Packet_Type" -- enum
, "Onion_Connection_Status" -- enum
, "Packet"
, "Packet_Direction" -- this is an enum
, "Socket"
, "State_Type"
, "State_Type" -- enum
]

exemptionPrefixes :: [Text]
Expand Down

0 comments on commit f63b737

Please sign in to comment.