Initial code #2
Annotations
1 error and 11 warnings
|
The following actions use a deprecated Node.js version and will be forced to run on node20: haskell/actions/hlint-setup@v2, haskell/actions/hlint-run@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
recurly-client/src/RecurlyClient/SecuritySchemes.hs#L2
Warning in module RecurlyClient.SecuritySchemes: Unused LANGUAGE pragma ▫︎ Found: "{-# LANGUAGE OverloadedStrings #-}"
|
recurly-client/src/RecurlyClient/SecuritySchemes.hs#L39
Warning in basicAuthenticationSecurityScheme in module RecurlyClient.SecuritySchemes: Redundant lambda ▫︎ Found: "basicAuthenticationSecurityScheme\n = \\ basicAuth_0\n -> Network.HTTP.Client.Request.applyBasicAuth\n (RecurlyClient.Common.textToByte\n GHC.Base.$ basicAuthenticationDataUsername basicAuth_0)\n (RecurlyClient.Common.textToByte\n GHC.Base.$ basicAuthenticationDataPassword basicAuth_0)" ▫︎ Perhaps: "basicAuthenticationSecurityScheme basicAuth_0\n = Network.HTTP.Client.Request.applyBasicAuth\n (RecurlyClient.Common.textToByte\n GHC.Base.$ basicAuthenticationDataUsername basicAuth_0)\n (RecurlyClient.Common.textToByte\n GHC.Base.$ basicAuthenticationDataPassword basicAuth_0)"
|
recurly-client/src/RecurlyClient/TypeAlias.hs#L1
Warning in module RecurlyClient.TypeAlias: Unused LANGUAGE pragma ▫︎ Found: "{-# LANGUAGE MultiWayIf #-}"
|
recurly-client/src/RecurlyClient/TypeAlias.hs#L3
Warning in module RecurlyClient.TypeAlias: Unused LANGUAGE pragma ▫︎ Found: "{-# LANGUAGE OverloadedStrings #-}"
|
recurly-client/src/RecurlyClient/Operations/Apply_credit_balance.hs#L51
Suggestion in apply_credit_balance in module RecurlyClient.Operations.Apply_credit_balance: Use camelCase ▫︎ Found: "apply_credit_balance ::\n forall m. (RecurlyClient.Common.MonadHTTP m) =>\n Apply_credit_balanceParameters\n -> RecurlyClient.Common.ClientT m (Network.HTTP.Client.Types.Response Apply_credit_balanceResponse)" ▫︎ Perhaps: "applyCreditBalance ::\n forall m. (RecurlyClient.Common.MonadHTTP m) =>\n Apply_credit_balanceParameters\n -> RecurlyClient.Common.ClientT m (Network.HTTP.Client.Types.Response Apply_credit_balanceResponse)"
|
recurly-client/src/RecurlyClient/Operations/Apply_credit_balance.hs#L58
Suggestion in apply_credit_balance in module RecurlyClient.Operations.Apply_credit_balance: Use camelCase ▫︎ Found: "apply_credit_balance parameters = ..." ▫︎ Perhaps: "applyCreditBalance parameters = ..."
|
recurly-client/src/RecurlyClient/Operations/Apply_credit_balance.hs#L99
Suggestion in apply_credit_balance in module RecurlyClient.Operations.Apply_credit_balance: Move brackets to avoid $ ▫︎ Found: "Network.HTTP.Types.URI.urlEncode GHC.Types.True\n GHC.Base.$\n (RecurlyClient.Common.textToByte\n GHC.Base.$\n RecurlyClient.Common.stringifyModel\n (apply_credit_balanceParametersPathInvoice_id parameters))" ▫︎ Perhaps: "Network.HTTP.Types.URI.urlEncode GHC.Types.True\n GHC.Base.$\n RecurlyClient.Common.textToByte\n (RecurlyClient.Common.stringifyModel\n (apply_credit_balanceParametersPathInvoice_id parameters))"
|
recurly-client/src/RecurlyClient/Operations/Apply_credit_balance.hs#L99
Suggestion in apply_credit_balance in module RecurlyClient.Operations.Apply_credit_balance: Redundant $ ▫︎ Found: "Network.HTTP.Types.URI.urlEncode GHC.Types.True\n GHC.Base.$\n (RecurlyClient.Common.textToByte\n GHC.Base.$\n RecurlyClient.Common.stringifyModel\n (apply_credit_balanceParametersPathInvoice_id parameters))" ▫︎ Perhaps: "Network.HTTP.Types.URI.urlEncode\n GHC.Types.True\n (RecurlyClient.Common.textToByte\n GHC.Base.$\n RecurlyClient.Common.stringifyModel\n (apply_credit_balanceParametersPathInvoice_id parameters))"
|
recurly-client/src/RecurlyClient/Operations/Apply_credit_balance.hs#L102
Suggestion in Apply_credit_balanceParameters in module RecurlyClient.Operations.Apply_credit_balance: Use camelCase ▫︎ Found: "data Apply_credit_balanceParameters\n = Apply_credit_balanceParameters {apply_credit_balanceParametersPathInvoice_id :: Data.Text.Internal.Text,\n apply_credit_balanceParametersPathSite_id :: Data.Text.Internal.Text}\n deriving (GHC.Show.Show, GHC.Classes.Eq)" ▫︎ Perhaps: "data ApplyCreditBalanceParameters\n = ApplyCreditBalanceParameters {apply_credit_balanceParametersPathInvoice_id :: Data.Text.Internal.Text,\n apply_credit_balanceParametersPathSite_id :: Data.Text.Internal.Text}\n deriving (GHC.Show.Show, GHC.Classes.Eq)"
|
recurly-client/src/RecurlyClient/Operations/Apply_credit_balance.hs#L124
Suggestion in mkApply_credit_balanceParameters in module RecurlyClient.Operations.Apply_credit_balance: Use camelCase ▫︎ Found: "mkApply_credit_balanceParameters ::\n Data.Text.Internal.Text\n -> Data.Text.Internal.Text -> Apply_credit_balanceParameters" ▫︎ Perhaps: "mkApplyCreditBalanceParameters ::\n Data.Text.Internal.Text\n -> Data.Text.Internal.Text -> Apply_credit_balanceParameters"
|
The logs for this run have expired and are no longer available.
Loading