Skip to content

v2.1.0

Compare
Choose a tag to compare
@mysticatea mysticatea released this 25 Sep 08:38
· 269 commits to master since this release
v2.1.0
8788242

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