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
Fix/newline after import #2952
base: main
Are you sure you want to change the base?
Fix/newline after import #2952
Conversation
code: `const foo = require('foo');\n\n\n// some random comment\nconst bar = function() {};`, | ||
options: [{ count: 2, exactCount: true, considerComments: true }], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we keep this existing test case, to ensure it's not a breaking change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test case is valid, so if we want to keep it, I think the test case should be included in the valid array. Is it okay to do this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, that's fine - moving the test shows it's a bug fix.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks, I applied it.
Any news about this? |
fix #2905