This repository was archived by the owner on Dec 6, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +22
-6
lines changed
property-svc/internal/property/events/v1
tasks-svc/internal/task/events/v1 Expand file tree Collapse file tree 4 files changed +22
-6
lines changed Original file line number Diff line number Diff line change @@ -39,11 +39,27 @@ linters:
3939 - protogetter # TODO
4040 - revive # TODO
4141 - stylecheck # TODO
42- - tagliatelle # TODO
4342 - testpackage # TODO
4443
4544linters-settings :
4645 goconst :
4746 ignore-tests : true
4847 min-occurrences : 2
4948 ignore-strings : ' (true|false)' # regex
49+ tagliatelle :
50+ case :
51+ use-field-name : true
52+ rules :
53+ json : snake
54+ yaml : camel
55+ xml : snake
56+ toml : snake
57+ bson : snake
58+ avro : snake
59+ mapstructure : snake
60+ env : upperSnake
61+ envconfig : upperSnake
62+ overrides :
63+ - pkg : user-svc/internal/hwkc
64+ rules :
65+ json : camel
Original file line number Diff line number Diff line change @@ -28,9 +28,9 @@ var CLI struct {
2828 Schema struct {} `cmd:"" help:"Print SpiceDB schema"`
2929 Test struct {} `cmd:"" help:"Runs SpiceDB tests using zed"`
3030 Directory string `flag:"" short:"d" type:"path" default:"./spicedb" help:"SpiceDB directory"`
31- Endpoint string `flag:"" short:"e" env:"ZED_ENDPOINT" help:"e.g., 'spicedb:50051'"`
32- Token string `flag:"" short:"t" env:"ZED_TOKEN" help:"SpiceDB token"`
33- Insecure bool `flag:"" default:"false" env:"ZED_INSECURE" help:"connect over plaintext connection"`
31+ Endpoint string `flag:"" short:"e" env:"ZED_ENDPOINT" help:"e.g., 'spicedb:50051'"` //nolint:tagliatelle,lll
32+ Token string `flag:"" short:"t" env:"ZED_TOKEN" help:"SpiceDB token"` //nolint:tagliatelle,lll
33+ Insecure bool `flag:"" default:"false" env:"ZED_INSECURE" help:"connect over plaintext connection"` //nolint:tagliatelle,lll
3434}
3535
3636func main () {
Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ func NewFieldTypeDataSelectOptionsRemovedEvent(
153153}
154154
155155type FieldTypeDataSelectOptionsUpsertedEvent struct {
156- UpsertedSelectOptions []models.UpdateSelectOption `json:"UpsertedSelectOptions "`
156+ UpsertedSelectOptions []models.UpdateSelectOption `json:"upserted_select_options "`
157157}
158158
159159func NewFieldTypeDataSelectOptionsUpsertedEvent (
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ type SubtaskDeletedEvent struct {
8585}
8686
8787type TaskStatusUpdatedEvent struct {
88- Status string `json:"subtask_id "`
88+ Status string `json:"status "`
8989}
9090
9191func NewTaskCreatedEvent (
You can’t perform that action at this time.
0 commit comments