eslint-plugin-remeda
v2.1.0
Published
ESLint plugin for Remeda library.
Maintainers
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 eslintNext, install eslint-plugin-remeda:
pnpm add -D eslint-plugin-remedaRules
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.
