Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

type_contents_order_only_specified_types #3307

Open
dusekpetr opened this issue Aug 17, 2020 · 2 comments
Open

type_contents_order_only_specified_types #3307

dusekpetr opened this issue Aug 17, 2020 · 2 comments
Labels

Comments

@dusekpetr
Copy link

Hello, im trying to allow type_contents_order rule just for ViewControllers, or disable it for Enums and Structs, because in VC it is better to have subtype declaration at top but in Enum with for example CodingKeys it is better to have subtype CodingKeys at bottom and I don't know how to do this. I think it is impossible for now. Should it be added?

@jpsim
Copy link
Collaborator

jpsim commented Nov 7, 2020

@Dschee added this rule, maybe he can share his thoughts on this.

@bugkingK
Copy link

bugkingK commented Jan 5, 2021

How can I use the above rules?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants