Import alphabetization is not honored
jerrypopsoff opened this issue · comments
My product has a strict lint configuration, including the requirement that imports are sorted alphabetically (case-sensitive, multiple before single). Is there a way to configure this module to honor the import order specified in the .eslintrc.js
configuration for the project?
Does that rule have an autofix? Can you run eslint --fix
after the codemod?
This rule does not have an autofix; however, I was able to resolve my situation using a combination of eslint-plugin-sort-imports-es6-autofix and the fix provided in the comments of this issue. Ended up being quite inconvenient, but perhaps this is a linting issue rather than ember-modules-codemod
issue.
Yep. This project assuming you have eslint is not ideal.
Thanks for the issue though.