0.0.4 • Published 7 months ago

eslint-plugin-roro v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

eslint-plugin-roro

npm version CI License: MIT

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

NameDescription
receive-objectEnforce functions to receive only a single object.
return-objectEnforce functions to return an object.

License

MIT

0.0.4

7 months ago

0.0.3

7 months ago

0.0.2

7 months ago

0.0.1

7 months ago