eslint-plugin-more

raw JSON →
1.0.5 verified Sat Apr 25 auth: no javascript maintenance

An ESLint plugin providing extra rules developed from code review insights to automate common issues. Current version 1.0.5, last published in 2021. It offers 12 rules, including no-void-map, no-c-like-loops, prefer-includes, no-then, no-window, and others. It differs from other plugins by focusing on practical rules derived from real code review scenarios. Compatible with ESLint versions 3 through 8, with peer dependency on eslint. Not actively maintained — latest commit years ago.

error ESLint couldn't find the plugin "eslint-plugin-more".
cause Plugin not installed or not in node_modules.
fix
npm install eslint-plugin-more --save-dev
error Configuration for rule "no-void-map" is invalid: Definition for rule 'no-void-map' was not found.
cause Rule name missing 'more/' prefix.
fix
Use 'more/no-void-map' in rules.
gotcha Plugin rules require 'more/' prefix; omitting it silently ignores the rule.
fix Use 'more/no-void-map' instead of 'no-void-map'.
deprecated Some rules may overlap with newer ESLint built-in rules.
fix Check ESLint built-in rules; prefer native equivalents.
breaking Plugin is no longer maintained; may not work with ESLint v9+ flat config.
fix Consider migrating to actively maintained alternatives.
npm install eslint-plugin-more
yarn add eslint-plugin-more
pnpm add eslint-plugin-more

Enable all plugin rules in ESLint configuration with severity 'error'.

// .eslintrc.json
{
  "plugins": ["more"],
  "rules": {
    "more/no-void-map": "error",
    "more/no-c-like-loops": "error",
    "more/prefer-includes": "error",
    "more/no-then": "error",
    "more/no-window": "error",
    "more/no-numeric-endings-for-variables": "error",
    "more/no-filter-instead-of-find": "error",
    "more/force-native-methods": "error",
    "more/no-duplicated-chains": "error",
    "more/classbody-starts-with-newline": ["error", "never"],
    "more/no-hardcoded-password": "error",
    "more/no-hardcoded-configuration-data": "error"
  }
}