Skip to content

Releases: mysticatea/eslint-plugin-es

v4.1.0

03 Dec 12:48
v4.1.0
3d5938e
Compare
Choose a tag to compare

✨ Enhancements

  • a12501c added plugins: ["es"] setting into presets.

v4.0.0

19 Nov 07:25
v4.0.0
80a33e6
Compare
Choose a tag to compare

💥 Breaking Changes

  • d97bb0e changed the configs that this plugin provides.

    Previously, the configs ware plugin:es/no-<year>. For example, plugin:es/no-2018 enabled the rules about ES2018.
    Since this version, there are two kinds of configs for each ECMAScript version; plugin:es/no-new-in-es<year> and plugin:es/restrict-to-es<year>. For example,

    • plugin:es/no-new-in-es2018 enables the rules about the new stuff of ES2018. This is the successor of old plugin:es/no-2018 config.
    • plugin:es/restrict-to-es2018 enables all rules about the newer stuff than ES2018. This aims useful to restrict syntax to the given ES version, as no longer needing many plugin:es/no-<year> for that purpose.

    See also https://github.com/mysticatea/eslint-plugin-es/tree/v4.0.0/lib/configs

  • f40774c added es/no-object-fromentries rule to ES2019 configs.

✨ New Rules

v3.0.1

15 May 11:12
v3.0.1
d86abb1
Compare
Choose a tag to compare

🐛 Bug fixes

  • e147de9 fixed a rule that used the non-standard node.start property.

v3.0.0

26 Dec 11:13
v3.0.0
bd47858
Compare
Choose a tag to compare

💥 Breaking changes

  • 9ce355c updated rules that check classes and static methods to recognize globalThis.*.
  • 3f6f4a9 updated es/no-5 preset to check new static methods in ES5.

✨ Enhancements

  • 70e92e8 added no-global-this rule to check ES2020 globalThis.
  • 85eb055 and b5928ab added ton of rules that check new static methods in ES5.

🐛 Bug fixes

  • 429c102 fixed incorrect autofix of es/no-arrow-functions.

v2.0.0

02 Sep 08:58
v2.0.0
7d82b76
Compare
Choose a tag to compare

This release has supported Stage 4 proposals on August 2019.

💥 Breaking Changes

  • 4a8455f dropped supports for Node.js 6.

✨ Features

  • 171047d added es/no-2019 config. This config includes three rules: es/no-json-superset, es/no-optional-catch-binding, and es/no-regexp-unicode-property-escapes-2019.
  • ca01839 added es/no-regexp-unicode-property-escapes-2019 rule that disallows the new values of RegExp Unicode property escape sequences in ES2019.
  • 76301d4 added es/no-bigint rule that disallows BigInt literals and globals.
  • 57bc750 added es/no-dynamic-import rule that disallows import() expressions.
  • cb7d13e added es/no-promise-all-settled rule that disallows Promise.allSettled function.

v1.4.1

02 Sep 08:50
v1.4.1
5d432b4
Compare
Choose a tag to compare

🐛 Bug Fixes

  • 616d8bb updated eslint-utils package for security.

v1.4.0

19 Nov 10:47
650827a
Compare
Choose a tag to compare

✨ Enhancements

  • 6879d41 made es/no-trailing-function-commas rule fixable.
  • d68dc25 made es/no-property-shorthands rule fixable.

v1.3.2

06 Nov 05:47
v1.3.2
7aed071
Compare
Choose a tag to compare

Bug fixes

  • de3fb11 fixed broken autofix of no-arrow-functions.

v1.3.1

13 Jul 11:56
v1.3.1
9ce38bb
Compare
Choose a tag to compare

Bug fixes

  • b396854 fixed false positive of no-regexp-lookbehind-assertion and no-regexp-named-capture-groups about character class syntax.

v1.3.0

26 Jun 11:33
v1.3.0
eb8253e
Compare
Choose a tag to compare

New rules