0.0.4 • Published 8 months ago

eslint-plugin-roro v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
8 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

8 months ago

0.0.3

8 months ago

0.0.2

8 months ago

0.0.1

8 months ago