ilyavolodin / eslint-plugin-backbone

Backbone specific linting rules for ESLint
MIT License
95 stars 11 forks source link

event-scope false positives #38

Closed ilyavolodin closed 9 years ago

ilyavolodin commented 9 years ago

event-scope incorrectly identifies an issue in the following code:

this.$('.something').on('change', this.update);

Since this is jQuery event, and not Backbone's, third parameter suggestion is invalid. Code should be modified to check for this.$().on\off