import/newline-after-import and `considerComments: true`

2
open
thernstig
thernstig
Posted 2 months ago

import/newline-after-import and `considerComments: true` #2714

Would using considerComments: true make sense for https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/newline-after-import.md?

ljharb
ljharb
Created 2 months ago

I think that's something that individual codebases can opt in to - personally, the comment is a sufficient buffer, but i can understand why it might not be to some.

thernstig
thernstig
Created 2 months ago

Sounds reasonable, will do that. Thought that maybe you also though it would be a good default.