eslint-plugin-roro
v0.0.5
Published
An ESLint plugin to follow the RORO (Receive an Object, Return an Object) pattern.
Downloads
5
Maintainers
Readme
eslint-plugin-roro
This plugin provide rules to enforce the RORO (Receive an Object, Return an Object) pattern.
Usage
npm i -D eslint-plugin-roro// eslint.config.mjs
import eslintPluginRORO from "eslint-plugin-roro";
export default [eslintPluginRORO.configs.recommended];Rules
| Name | Description | | ---------------------------------------------- | -------------------------------------------------- | | receive-object | Enforce functions to receive only a single object. | | return-object | Enforce functions to return an object. |
