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 butfiles
field does not include it. Sonpm 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
orexports.foo
.
Chore
- 0d0ce45 removes "⚠ Experimental" mark from process-exit-as-throw rule. I have not heard the bug around this rule in long time.