-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
newline-after-import ignoring angular annotations. #1784
Comments
What is an "anchor annotation"? That looks like decorators syntax, a stage 2 proposal that's on its 4th syntax/semantics iteration. Are you saying you expect a newline above the decorator, below the imports, and it's not forcing one? If so, that is indeed a bug. |
Exactly. |
I can confirm that bug makes |
Any updates about this? |
With the following rule:
"import/newline-after-import": "error"
If I write:
No error is throw. But if I write:
it works as expected.
The way I see it, it should not care what the next line is (if not import, of course).
Here are the images:
The text was updated successfully, but these errors were encountered: