Skip to content

struct-tag rule false-positive on json inline tag #520

@finnan444

Description

@finnan444

Describe the bug
struct-tag produces warning for json inline tag struct-tag: unknown option 'inline' in JSON tag (revive)

To Reproduce
Steps to reproduce the behavior:

  1. add
type Beta struct {
    Alpha `json:",inline"`
}
  1. Run revive with struct-tag rule enabled

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions