Skip to content

feat: Add require-types-at-top rule #319

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

Merged
merged 1 commit into from
Feb 18, 2018

Conversation

pnevyk
Copy link
Contributor

@pnevyk pnevyk commented Feb 18, 2018

Implements rule requested in #168, #285.

The order of imports and types is not enforced, i.e. having import declarations after type declarations is valid, because I think this should be handled in another rule.

@gajus gajus merged commit 74bcb8c into gajus:master Feb 18, 2018
@gajus
Copy link
Owner

gajus commented Feb 18, 2018

Thank you

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

Successfully merging this pull request may close these issues.

2 participants