mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-02-05 13:15:26 +02:00
fix: jsonschema field names (#2693)
* fix: jsonschema field names * fix: validate missing tags
This commit is contained in:
parent
37f8167fd9
commit
8955b2503a
@ -8,8 +8,15 @@ linters:
|
||||
- wastedassign
|
||||
- revive
|
||||
- forbidigo
|
||||
- tagliatelle
|
||||
|
||||
linters-settings:
|
||||
forbidigo:
|
||||
forbid:
|
||||
- 'ioutil\.*'
|
||||
tagliatelle:
|
||||
case:
|
||||
use-field-name: false
|
||||
rules:
|
||||
yaml: snake
|
||||
json: snake
|
||||
|
@ -1,5 +1,7 @@
|
||||
// Package krew implements Piper and Publisher, providing krew plugin manifest
|
||||
// creation and upload to a repository (aka krew plugin index).
|
||||
//
|
||||
// nolint:tagliatelle
|
||||
package krew
|
||||
|
||||
import (
|
||||
|
@ -1,4 +1,6 @@
|
||||
// Package snapcraft implements the Pipe interface providing Snapcraft bindings.
|
||||
//
|
||||
// nolint:tagliatelle
|
||||
package snapcraft
|
||||
|
||||
import (
|
||||
|
@ -288,8 +288,8 @@ type Build struct {
|
||||
}
|
||||
|
||||
type BuildHookConfig struct {
|
||||
Pre Hooks `yaml:",omitempty"`
|
||||
Post Hooks `yaml:",omitempty"`
|
||||
Pre Hooks `yaml:"pre,omitempty"`
|
||||
Post Hooks `yaml:"post,omitempty"`
|
||||
}
|
||||
|
||||
type Hooks []Hook
|
||||
@ -652,7 +652,7 @@ type Snapcraft struct {
|
||||
Confinement string `yaml:"confinement,omitempty"`
|
||||
Layout map[string]SnapcraftLayoutMetadata `yaml:"layout,omitempty"`
|
||||
Apps map[string]SnapcraftAppMetadata `yaml:"apps,omitempty"`
|
||||
Plugs map[string]interface{} `yaml:",omitempty"`
|
||||
Plugs map[string]interface{} `yaml:"plugs,omitempty"`
|
||||
|
||||
Files []SnapcraftExtraFiles `yaml:"extra_files,omitempty"`
|
||||
}
|
||||
@ -737,7 +737,7 @@ type Blob struct {
|
||||
Bucket string `yaml:"bucket,omitempty"`
|
||||
Provider string `yaml:"provider,omitempty"`
|
||||
Region string `yaml:"region,omitempty"`
|
||||
DisableSSL bool `yaml:"disableSSL,omitempty"`
|
||||
DisableSSL bool `yaml:"disableSSL,omitempty"` // nolint:tagliatelle // TODO(caarlos0): rename to disable_ssl
|
||||
Folder string `yaml:"folder,omitempty"`
|
||||
KMSKey string `yaml:"kmskey,omitempty"`
|
||||
IDs []string `yaml:"ids,omitempty"`
|
||||
|
Loading…
x
Reference in New Issue
Block a user