0.0.4 • Published 7 months ago
eslint-plugin-roro v0.0.4
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. |