JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 15947
  • Score
    100M100P100Q143566F
  • License MIT

ESLint plugin for Remeda library.

Package Exports

  • eslint-plugin-remeda
  • eslint-plugin-remeda/package.json

Readme

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.