A set of rules for me!


0.3.25 years ago5 years agoMinified + gzip package size for @scottnonnenberg/eslint-plugin-thehelp in KB



A collection of rules with no other good place.


npm install eslint-plugin-thehelp --save-dev

In your eslint configuration:

  "plugins": ["thehelp"],
  "rules": {
    "thehelp/absolute-or-current-dir": "error",

And that's it! Details for each rule below.


  • thehelp/absolute-or-current-dir - all require() or import calls must either refer to absolute paths or the current directory ('./peer'). Goodbye ../../../!
  • thehelp/no-mutation - prevents mutation of object values, pushing you to a more functional style. exceptions configuration allows CommonJS compatibility.
  • thehelp/no-array-mutation - looks for object calls (obj.call()) with function names taken from the list of mutating array methods.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.