Update eslint-plugin-node to the latest version 🚀 #76
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Version 7.0.0 of eslint-plugin-node was just published.
The version 7.0.0 is not covered by your current version range.
If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.
It might be worth looking into these changes and trying to get this project onto the latest version of eslint-plugin-node.
If you have a solid test suite and good coverage, a passing build is a strong indicator that you can take advantage of these changes directly by merging the proposed change into your project. If the build fails or you don’t have such unconditional trust in your tests, this branch is a great starting point for you to work on the update.
Release Notes
v7.0.0Breaking changes
>=6
.>=4.19.1
. (thenode/recommended
preset is supporting only ESLint>=5.0.0
)node/recommended
config.parserOptions.ecmaVersion
to2019
from2018
.plugins: ["node"]
.10.6.0
.assert.equal
are deprecated. Use stricter methods such asassert.strictEqual
or the strict mode (assert.strict
) instead.New rules
Buffer
orrequire("buffer").Buffer
consistently.console
orrequire("console")
consistently.process
orrequire("process")
consistently.URLSearchParams
orrequire("url").URLSearchParams
consistently.URL
orrequire("url").URL
consistently.Deprecated rules
Chore
I extracted the logic which detects certain globals and modules and those properties to the eslint-utils package. I wish it to be useful for your ESLint plugins.
All commits: 5260039...890ee63
Commits
The new version differs by 48 commits.
890ee63
7.0.0
7ab875a
Chore: refactoring no-deprecated-api
fa25150
Chore: refactoring for no-unsupported-features/*
8f25248
Chore: refactoring for prefer-global/*
4dd9baf
Chore: move data into rules
069efe9
Breaking: update 'no-deprecated-api' rule
7137055
7.0.0-beta.0
a42d38e
Docs: update README.md
1946d61
Breaking: update recommended.json
cb8f504
Update: add ES2019 support in 'no-unsupported-features/es-syntax'
3d79333
New:
prefer-global/*
rules217411d
Chore: re-organize no-unsupported-features (fixes #118)
b02dcef
New:
no-unsupported-features/worker_threads
rule (refs #118)65cbc08
New:
no-unsupported-features/vm
rule (refs #118)222f6c0
New:
no-unsupported-features/v8
rule (refs #118)There are 48 commits in total.
See the full diff
FAQ and help
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper bot 🌴