v5.0.0
Notable changes are 2:
- Node.js 8 support were added.
- The check of extraneous packages were separated from
no-unpublish-import
rule andno-unpublish-require
rule.
Breaking changes
- 3387336 updated
no-unsupported-features
rule for Node.js 8.- Node.js 8 newly supports trailing commas in functions.
- This rule went to use
4.0.0
if you don't specify the node version. It has been0.10.0
before. - This rule went to warn
SharedArrayBuffer
andAtomics
. Currently any versions of Node.js don't support those variables.
- 0e487f9 updated
no-deprecated-api
rule for Node.js 8.- Node.js 8 deprecated
vm.runInDebugContext()
. - Additionally, Node.js 8 made the official page about deprecated APIs. I realized this rule had been lacking the check of some deprecated APIs. I added those.
- Node.js 8 deprecated
- d4e6bc4 removed the check about extraneous packages from
no-unpublish-import
rule andno-unpublish-require
rule.- The extraneous packages are checked by no-extraneous-import rule and no-extraneous-require rule.
New rules
- a75c638 added 2 new rules, no-extraneous-import and no-extraneous-require. Those rules report
require()
expressions orimport
declarations if those import extraneous packages.- Those behavior were extracted from
no-unpublished-require
andno-unpublished-import
.
- Those behavior were extracted from