Closed bmish closed 2 years ago
I noticed that import-helpers/order-imports was unnecessarily adding a blank line after 100 imports in the same group with my configuration.
import-helpers/order-imports
It's easily possible to end up with a large group of imports when importing all the files in a directory which contains over 100 files, especially for auto-generated directory index files. Example: https://github.com/ember-template-lint/ember-template-lint/blob/f92cae0bcc0fdfcc885bd5ca702e853f614815b5/lib/rules/index.js#L103
I have added a test case which succeeds now but failed before the fix.
LGTM! Thanks!
Released in v1.2.1
I noticed that
import-helpers/order-imports
was unnecessarily adding a blank line after 100 imports in the same group with my configuration.It's easily possible to end up with a large group of imports when importing all the files in a directory which contains over 100 files, especially for auto-generated directory index files. Example: https://github.com/ember-template-lint/ember-template-lint/blob/f92cae0bcc0fdfcc885bd5ca702e853f614815b5/lib/rules/index.js#L103
I have added a test case which succeeds now but failed before the fix.