Looking for some clarity around a few of these codeclimate ESLINT issues. They are lacking documentation on http://ift.tt/1hESthA.
I'm hesitant on just "excluding" or removing them from the .eslintrc as I'm sure they have worth, I just can't find a way to resolve them or read more about them.
- "Unable to resolve path to module 'ember'."
import Ember from 'ember';
- "'my-app' should be listed in the project's dependencies. Run 'npm i -S my-app' to add it"
import DateTimeMixin from 'my-app/mixins/controllers/datetime';
- my-app is not an npm module, its just the project namespace/path.
- "'ember-data-url-templates' should be listed in the project's dependencies, not devDependencies."
import UrlTemplates from 'ember-data-url-templates';
- How is this determined? Dependencies are automatically added to devDependencies when something like
ember install ...
is run.
Appreciate any insight/clarity!
Aucun commentaire:
Enregistrer un commentaire