EmmanuelDemey / eslint-plugin-angular

ESLint plugin for AngularJS applications
https://www.npmjs.com/package/eslint-plugin-angular
618 stars 131 forks source link

Fix angularChainableNames check #566

Open christopherthielen opened 5 years ago

christopherthielen commented 5 years ago

This conditional was always true because (name !== -1) is always true and thus angularChainableNames.indexOf(true) is always true