Skip to content

jsaguet/eslint-plugin-clean-codestyle

Repository files navigation

eslint-plugin-clean-codestyle

Installation

yarn add eslint-plugin-clean-codestyle -D

Rules

Rule name Description Recommended
no-accessor-recursion Forbids recursion in accessors ✔️
no-foreach-push Enforce using Array.prototype.map instead of Array.prototype.forEach and Array.prototype.push. ✔️
no-map-without-usage Prevents Array.prototype.map from being called and the results not used. ✔️