diff --git a/.golangci.yaml b/.golangci.yaml index fd51cea..a7082e2 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -51,8 +51,6 @@ linters-settings: disabled: true - name: early-return disabled: true - - name: disable-stuttering-check - disabled: true gocritic: disabled-checks: - ifElseChain diff --git a/plugin/license/license.go b/plugin/license/license.go index a56fef1..9b65502 100644 --- a/plugin/license/license.go +++ b/plugin/license/license.go @@ -22,6 +22,7 @@ const ( subscriptionProProductID = 98995 ) +//revive:disable-next-line type LicenseKey struct { ID int32 `json:"id"` Status string `json:"status"` @@ -30,6 +31,7 @@ type LicenseKey struct { ExpiresAt *string `json:"updated_at"` } +//revive:disable-next-line type LicenseKeyMeta struct { StoreID int32 `json:"store_id"` OrderID int32 `json:"order_id"`