caseywatts / ember-cli-mirage-faker-codemod

2 stars 2 forks source link

Change where faker is inserted #4

Closed caseywatts closed 6 years ago

caseywatts commented 6 years ago

Right now, if faker is inserted, it's inserted as the top line of the folder. That's not the best, and I have two ideas that I think would be better:

  1. ideally: insert it on the line after where ember-cli-mirage import is/was (I think we can do this! :) )
  2. If not option 1 for some reason, then alternatively: we could put it after the last import. That's a more natural default than at the top of the file.
caseywatts commented 6 years ago

done! fixed on master ✨