I have a method which\'s main purpose is to set a property on a DOM object
function (el) {
el.expando = {};
}
I use AirBnB\'s code style
You can use methods for updating data. Eg. "res.status(404)" instead of "res.statusCode = 404"
I found the solution. https://github.com/eslint/eslint/issues/6505#issuecomment-282325903
/*eslint no-param-reassign: ["error", { "props": true, "ignorePropertyModificationsFor": ["$scope"] }]*/
app.controller('MyCtrl', function($scope) {
$scope.something = true;
});