Detalhes do pacote

eslint-plugin-remeda

AndreaPontrandolfo61.1kMIT1.8.1

ESLint plugin for Remeda library.

eslint, eslint-plugin, eslint plugin, eslintplugin

readme (leia-me)

ESLint Plugin Remeda

ESLint plugin for Remeda.

Preamble

This plugin was originally derived from eslint-plugin-lodash-f (fork of eslint-plugin-lodash) and used that as a base to build upon.

Installation

First, you'll first need to install ESLint:

pnpm add -D eslint

Next, install eslint-plugin-remeda:

pnpm add -D eslint-plugin-remeda

Rules

Enable all of the rules that you would like to use. All rules are off by default, unless you use one of the plugin's configurations which turn all relevant rules on.

💼 Configurations enabled in.\ ✅ Set in the recommended configuration.\ 🔧 Automatically fixable by the --fix CLI option.

Name 💼 🔧
collection-method-value
collection-return
prefer-constant
prefer-do-nothing
prefer-filter
prefer-find
prefer-flat-map
prefer-is-empty 🔧
prefer-is-nullish
prefer-map
prefer-nullish-coalescing 🔧
prefer-remeda-typecheck
prefer-some
prefer-times

Contributing

Contributions are always welcome! For more info, read our contribution guide.