Skip to content

Commit

Permalink
lint: disabled rule
Browse files Browse the repository at this point in the history
  • Loading branch information
fredmaggiowski committed Sep 11, 2024
1 parent da6618a commit fba7039
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
9 changes: 5 additions & 4 deletions internal/resources/extensibility/extensionInfo.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
}
7 changes: 4 additions & 3 deletions internal/resources/extensibility/extensions.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit fba7039

Please sign in to comment.