From fba703920a8cc7b8404443588c2c02ab31139292 Mon Sep 17 00:00:00 2001 From: Federico Maggi Date: Wed, 11 Sep 2024 10:07:20 +0200 Subject: [PATCH] lint: disabled rule --- internal/resources/extensibility/extensionInfo.go | 9 +++++---- internal/resources/extensibility/extensions.go | 7 ++++--- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/internal/resources/extensibility/extensionInfo.go b/internal/resources/extensibility/extensionInfo.go index 075c3e2..8691130 100644 --- a/internal/resources/extensibility/extensionInfo.go +++ b/internal/resources/extensibility/extensionInfo.go @@ -60,8 +60,9 @@ type ExtensionInfo struct { IconName string `yaml:"iconName,omitempty" json:"iconName,omitempty"` ActivationContexts []Context `yaml:"activationContexts" json:"activationContexts"` Permissions []string `yaml:"permissions,omitempty" json:"permissions,omitempty"` - RoleIDs []string `yaml:"roleIds,omitempty" json:"roleIds,omitempty"` - Visibilities []Visibility `yaml:"visibilities,omitempty" json:"visibilities,omitempty"` - Category *Category `yaml:"category,omitempty" json:"category,omitempty"` - Menu *Menu `yaml:"menu" json:"menu,omitempty"` + //nolint:tagliatelle + RoleIDs []string `yaml:"roleIds,omitempty" json:"roleIds,omitempty"` + Visibilities []Visibility `yaml:"visibilities,omitempty" json:"visibilities,omitempty"` + Category *Category `yaml:"category,omitempty" json:"category,omitempty"` + Menu *Menu `yaml:"menu" json:"menu,omitempty"` } diff --git a/internal/resources/extensibility/extensions.go b/internal/resources/extensibility/extensions.go index bbd1ed7..eb7d808 100644 --- a/internal/resources/extensibility/extensions.go +++ b/internal/resources/extensibility/extensions.go @@ -25,9 +25,10 @@ type Extension struct { IconName string `yaml:"iconName,omitempty" json:"iconName,omitempty"` ActivationContexts []Context `yaml:"activationContexts" json:"activationContexts"` Permissions []string `yaml:"permissions,omitempty" json:"permissions,omitempty"` - RoleIDs []string `yaml:"roleIds,omitempty" json:"roleIds,omitempty"` - Category *Category `yaml:"category,omitempty" json:"category,omitempty"` - Menu Menu `yaml:"menu" json:"menu"` + //nolint:tagliatelle + RoleIDs []string `yaml:"roleIds,omitempty" json:"roleIds,omitempty"` + Category *Category `yaml:"category,omitempty" json:"category,omitempty"` + Menu Menu `yaml:"menu" json:"menu"` } type Icon struct {