diff --git a/Makefile b/Makefile index edadde3..f175ff9 100644 --- a/Makefile +++ b/Makefile @@ -218,7 +218,7 @@ lint: $(BUILD_DIRS) --env GO111MODULE=on \ --env GOFLAGS="-mod=vendor" \ $(BUILD_IMAGE) \ - golangci-lint run --enable $(ADDTL_LINTERS) --deadline=10m --exclude-files="generated.*\.go$\" --exclude-dirs-use-default + golangci-lint run --enable $(ADDTL_LINTERS) --deadline=10m --skip-files="generated.*\.go$\" --skip-dirs-use-default $(BUILD_DIRS): @mkdir -p $@ diff --git a/types.go b/types.go index 4c48b88..b797843 100644 --- a/types.go +++ b/types.go @@ -903,6 +903,7 @@ type MultiselectElement struct { If string `json:"if,omitempty"` OnChange string `json:"onChange,omitempty"` Required bool `json:"required,omitempty"` + CustomClass string `json:"customClass,omitempty"` } /* @@ -976,7 +977,7 @@ type Editor struct { } type AnchorElement struct { - CustomClass string `json:"customClass"` + CustomClass string `json:"customClass,omitempty"` Label *Label `json:"label,omitempty"` Type string `json:"type"` URL AnchorURL `json:"url"`