Skip to content

Releases: mysticatea/eslint-plugin-node

v3.0.0

31 Oct 12:13
v3.0.0
34928aa
Compare
Choose a tag to compare

Breaking Changes

  • 9aa7e8d added the check of new features in Node.js 7 into no-unsupported-features rule. (#46)
    This is about ECMAScript 2016-2017.
  • ce465b8 added the check of new deprecated APIs in Node.js 7 into no-deprecated-api rule. (#54)
  • It updated plugin:node/recommended config.
    • 8e0c033 enabled no-process-exit rule. (#53)
    • 13c61b1 enabled node/no-unpublished-bin and node/process-exit-as-throw rules.

Bug Fixes

  • 292e8f8 fixed a false positive of no-unsupported-features about Unicode code point escapes.

v2.1.3

15 Oct 10:18
v2.1.3
b0618d4
Compare
Choose a tag to compare

Bug Fixes

  • d849588 changed no-deprecated-api rule allowing fs.existsSync function. The fs.existsSync function has been undeprecated by Node v6.8.0.
  • d8142a1 improved the warning message of no-deprecated-api rule about Buffer constructor.

v2.1.2

29 Sep 10:14
v2.1.2
b3cec7f
Compare
Choose a tag to compare

Bug Fixes

  • e42d161 fixed shebang rule to allow CLI flags in shebangs. (fixed #51)

v2.1.1

26 Sep 02:13
v2.1.1
06231d4
Compare
Choose a tag to compare

Bug Fixes

v2.1.0

25 Sep 08:38
v2.1.0
8788242
Compare
Choose a tag to compare

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 but files field does not include it. So npm 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 or exports.foo.

Chore

v2.0.0

03 Jul 14:56
v2.0.0
9efa7f3
Compare
Choose a tag to compare

Breaking Changes

  • 9fabf76 eslint-plugin-node dropped supports of ESLint 1. Now it requires ESLint >=2.0.0.

Notes

  • eslint-plugin-node has the plan to drop supports of ESLint 2 and Node.js 0.10/0.12. It will come at the end of 2016.

v1.5.2

02 Jul 12:39
v1.5.2
a7f3846
Compare
Choose a tag to compare

Bug Fixes

  • fc86406 fixed invalid peerDependencies for ESLint 3.0.0

v1.5.1

23 Jun 10:19
v1.5.1
413c23d
Compare
Choose a tag to compare

v1.5.0

17 Jun 04:26
v1.5.0
42fd1c8
Compare
Choose a tag to compare

Features:

  • A preset config (plugin:node/recommended) was added (#38).
    Thank you @rkaneko !

Bug Fixes:

  • A false negative of no-unsupported-features was fixed (#40).
    Node 4 and 5 don't support get and set identifiers for property shorthand syntax.

Documents:

  • Semantic Versioning Policy was declared (#41).

v1.4.0

21 May 23:05
v1.4.0
1e0d9da
Compare
Choose a tag to compare

Features:

  • 624aed0 New no-deprecated-api rule was added.
    This rule warns accesses to deprecated API. More info...