Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 835 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 835 Bytes

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. ✔️