minichate / jscs-ember-deprecations

Ember deprecation warnings for JSCS
MIT License
6 stars 1 forks source link

Initializer functions have an arity of 1 in Ember 2.1 #19

Closed minichate closed 8 years ago

rwjblue commented 8 years ago

Is there any way to have this apply for only specific file names? The issue I'm worried about is having an initialize function in any other place that has two args, wouldn't that also trigger this deprecation?

minichate commented 8 years ago

Good idea! I was struggling with that too; my initial thought was to make sure that the exported object had a name sibling key, but checking file path is safer

:+1:

rwjblue commented 8 years ago

:+1: