stefanpenner/ember-cli — pull request #209 by jgable (2014-03-31 03:34:03+00:00)
Title: Add ES6 Import Validation

Progress on #36

- Add dependency broccoli-es6-import-validate
- Add validateJs tree (only when env !== 'production')

Wanted to get this up for review. I've tested by running locally with `npm link`, creating a new project with `ember new ember-test` then `ember build` and `ember server` in the new project.

I tried to test out importing from a non existent module like `import Blah from 'ember-test/something/missing'` but something is failing with an ENOENT because that file doesn't exist that is being imported from. But, when I tested by adding an extra named import like

```
import {
test,
moduleFor,
blah // <-- doesn't exist
} from 'ember-qunit';
```

I get a proper warning from the validationJs tree.