In Angular 1.4, the $cookieStore service is now deprected. Please use the $cookies service instead
Rule based on Angular 1.x
The following patterns are considered problems;
/*eslint angular/no-cookiestore: 2*/
// invalid
$cookieStore.put('favoriteMeal', 'pizza'); // error: Since Angular 1.4, the $cookieStore service is deprecated. Please use now the $cookies service.
// invalid
$cookieStore.get('favoriteMeal'); // error: Since Angular 1.4, the $cookieStore service is deprecated. Please use now the $cookies service.
The following patterns are not considered problems;
/*eslint angular/no-cookiestore: 2*/
// valid
$cookies.put('favoriteMeal', 'pizza');
// valid
$cookies.get('favoriteMeal');
This rule was introduced in eslint-plugin-angular 0.3.0