jnfingerle
jnfingerle

Reputation: 713

Ember.js/Addon: How do I jshint all javascript files?

I'm writing an ember.js addon. When running ember test Ember will add generic should pass jshint tests to my test suite. That's great as far as it goes, but the javascript files from the main directory (index.js, Brocfile.js) are missing as are the files from app/**/*. As far as I can see, only files in addon/**/\ and tests/**/\ are covered.

Am I missing some obvious configuration option? Is this a bug?

Upvotes: 3

Views: 218

Answers (1)

ykaragol
ykaragol

Reputation: 6221

No it is not a bug. That's how the ember test works.

Once there was an issue about running linter. But I didn't find any rfc about these issue.

If you want to run linting on your code base, you can use either cli or ide plugins.

Upvotes: 0

Related Questions