ilyavolodin / eslint-plugin-backbone

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

Rule to check that if overloading Backbone native methods, base is always called. #2

Closed ilyavolodin closed 10 years ago

ilyavolodin commented 10 years ago

This rule should check that if native Backbone methods are overloaded (like constructor, add, remove, etc.) base method is always called.

The rule name should be no-overload-without-base.

ilyavolodin commented 10 years ago

Base can be called in a lot of different ways... Closing this for now. Might reopen it later if I will settle on a single way of checking this.