yarn eslint-plugin-node 2.1.0

latest releases: 11.1.0, 11.0.0, 10.0.0...
7 years ago

Features

  • 8cc8aaa added no-unpublished-bin rule. This rule warns the file if it's CLI entery point and if npm ignores it.
    For example: {"bin": "bin/index.js", "files": ["lib"]}, in this case, bin/index.js is CLI entry point but files field does not include it. So npm install will fail.
    This rule will catch the problem before you publish it.
  • 81ffd25 added exports-style rule. This is style rule. This rule enforce a use of either module.exports or exports.foo.

Chore

Don't miss a new eslint-plugin-node release

NewReleases is sending notifications on new releases.