eslint-plugin-roro
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

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

Name Description
receive-object Enforce functions to receive only a single object.
return-object Enforce functions to return an object.

License

MIT

Package Sidebar

Install

npm i eslint-plugin-roro

Weekly Downloads

0

Version

0.0.4

License

MIT

Unpacked Size

17.1 kB

Total Files

16

Last publish

Collaborators

  • tasshi