Linter for field order in struct initialization #4919
Unanswered
begelundmuller
asked this question in
Linter Ideas
Replies: 1 comment 1 reply
-
Hello, I don't think a linter exists for that as it's a pure "style" linter. Can you explain the need behind this? Why the order is important for you? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, do you know of a linter that will error if a struct is initialized with a different field order than the struct definition?
For example:
Beta Was this translation helpful? Give feedback.
All reactions