Skip to content

Releases: mysticatea/eslint-plugin-node

v11.1.0

28 Mar 12:42
v11.1.0
4a348e7
Compare
Choose a tag to compare

The many rules for Node.js in the ESLint core will be deprecated in ESLint 7.0.0. This release includes the clone of those core rules.

✨ Enhancements

v11.0.0

26 Dec 11:52
v11.0.0
b8f9945
Compare
Choose a tag to compare

💥 Breaking changes

  • b6cb9a0 updated node/no-unsupported-features/node-builtins rule based on Node.js 13.2.0.
  • fb9ce15 updated node/no-unsupported-features/es-syntax rule to recognize BigInt literal property names.
  • 4295f6a updated the rules that check global variables to recognize globalThis.*.
  • 04051ed updated node/no-unsupported-features/es-builtins rule to recognize globalThis.

✨ Enhancements

  • 276a9ad updated node/no-deprecated-api rule to allow revoked deprecations.
  • 972f828 updated node/no-unsupported-features/node-builtins rule to handle backporting properly.

🐛 Bug fixes

  • 4f74fbf fixed a crash bug around dynamic import syntax.

v10.0.0

05 Sep 02:57
v10.0.0
dc067a1
Compare
Choose a tag to compare

This release supports BigInt and Dynamic Imports if you are using ESLint 6.2.0 or later.

💥 Breaking Changes

  • 9ea67c9 updated node/no-unsupported-features/es-syntax rule to recognize BigInt literals and import().
  • b91b48d updated node/no-unsupported-features/es-builtins rule to recognize BigInt, BigInt64Array, BigUint64Array, and Promise.allSettled.
  • b57a4f9 updated node/file-extension-in-import, node/no-extraneous-import, node/no-missing-import, and node/no-unpublished-import rules to recognize import().
  • 4b9c4d7 updated node/no-deprecated-api rule to recognize module.createRequireFromPath.
  • 9c574ba updated plugin:node/recommended and the other configs.
    • It added node/no-exports-assign rule.
    • It changed exports global variable writable.
    • It enabled node/*-import rules in CommonJS mode as well.

✨ New rules

  • a0f0ee1 added node/no-exports-assign rule that disallows exports = {}.

v9.2.0

04 Sep 03:25
v9.2.0
9fbdaec
Compare
Choose a tag to compare

✨ New Rules

  • c1d5dbf added a new rule no-callback-literal.

🐛 Bug Fixes

  • 72de3a3 updated eslint-utils for security fix.

v9.1.0

23 May 10:20
v9.1.0
7ce77f9
Compare
Choose a tag to compare

✨ Features

  • fd9d19d updated no-deprecated-api to not suggest alternative APIs if it has not supported on configured Node.js version. Thank you, @Lalem001 !

🐛 Bug Fixes

  • e5aee3c updated semver package to not crash on wildcard * version range.

v9.0.1

04 May 02:09
bc02c52
Compare
Choose a tag to compare

🐛 Bug Fixes

  • dfb4dc0 fixed the false positive of node/file-extension-in-import rule on scoped packages (#160).

v9.0.0

03 May 08:31
a84a009
Compare
Choose a tag to compare

Update for Node.js v12 🎉

💥 Breaking Changes

✨ New Rules

v8.0.1

04 Jan 16:50
b234dcc
Compare
Choose a tag to compare

🐛 Bug fixes

v8.0.0

27 Oct 22:34
v8.0.0
932836b
Compare
Choose a tag to compare

This release focuses on supporting new things that were added between Node.js 8.7.0 and 11.0.0.

Breaking changes

  • 5860795 updated node/no-deprecated-api rule to disallow new deprecated APIs.
    Especially, it includes legacy URL API.
  • d153b93 updated node/no-unsupported-features/node-builtins rule to detect new APIs.

New rules

  • 46ed54d added node/prefer-global/text-decoder rule for new global varaible TextDecoder.
  • 46ed54d added node/prefer-global/text-encoder rule for new global varaible TextEncoder.

v7.0.1

17 Jul 12:29
v7.0.1
a4a7ad2
Compare
Choose a tag to compare

Bug fixes

  • It fixed false positive that the node/no-unsupported-features/node-builtins reports the process.emitWarning method on Node.js >=6 <8. It was supported since Node.js 6.0.0.