v9.0.0
Update for Node.js v12 🎉
💥 Breaking Changes
- c95b2fd dropped Node.js 6 support because of End-of-Life.
- fe2343f dropped ESLint 4 support. New supported versions are
^5.16.0
and>=6.0.0
. - 7e0c2c5 updated node/no-deprecated-api rule to check new deprecated APIs in Node.js 12.
- 5d79f2d updated node/no-unsupported-features/node-builtins rule to recognize new APIs in Node.js 12.
- 02d61cf updated node/no-unsupported-features/es-builtins rule to recognize new APIs in Node.js 12.
- b94731a updated the rules for
require()
such as node/no-missing-require rule to checkrequire.resolve()
as well. - 2061413 updated
plugin:node/recommended
preset.
✨ New Rules
- a3e0e29 added node/file-extension-in-import rule which enforce the style of file extensions.
- e41a1e0 added node/prefer-promises/dns rule and node/prefer-promises/fs rule which enforce to use Promise API instead of Callback API.