You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I checked out the main branch to try out the new exactCount option for newline-after-imports. This does not work properly if there are comments following an import.
Regardless of whether I use 'import/newline-after-import': ['error', { count: 1, considerComments: false, exactCount: true }],
or 'import/newline-after-import': ['error', { count: 1, considerComments: true, exactCount: true }],
The following code snippets produce an error:
import_from'lodash';/** * A comment is here */
import_from'lodash';// A comment is here
Expected 1 empty line after import statement not followed by another import
The text was updated successfully, but these errors were encountered:
I checked out the main branch to try out the new
exactCount
option fornewline-after-imports
. This does not work properly if there are comments following an import.Regardless of whether I use
'import/newline-after-import': ['error', { count: 1, considerComments: false, exactCount: true }],
or
'import/newline-after-import': ['error', { count: 1, considerComments: true, exactCount: true }],
The following code snippets produce an error:
The text was updated successfully, but these errors were encountered: