Declaring model type on a collection will allow you to pass raw objects into create, add and reset methods of that collection. This simplifies code and improves readability.
The following patterns are considered warnings:
Backbone.Collection.extend({
initialize: function() {
...
}
});
The following patterns are not warnings:
Backbone.Collection.extend({
model: Book,
initialize: function() {
...
}
});
If you prefer to always pass models into collection methods you can disable this rule.