Releases: mysticatea/eslint-plugin-es
Releases · mysticatea/eslint-plugin-es
v4.1.0
v4.0.0
💥 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>
andplugin: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 oldplugin: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 manyplugin: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
- 062b723 added
es/no-nullish-coalescing-operators
rule for Nullish Coalescing. - 52ce781 added
es/no-import-meta
rule forimport.meta
. - 90f5e0e added
es/no-export-ns-from
rule forexport * as ns from "mod"
. - b112d4d added
es/no-optional-chaining
rule for Optional Chaining. - 223ff2d added
es/no-numeric-separators
rule for Numeric Separators. - 6748df1 added
es/no-logical-assignment-operators
for Logical Assignment. - f89f09b, 4c41c2a, and e4de41a added
es/no-weakrefs
for WeakRefs. - 54f9308, 7a38624, and 781454b added
es/no-promise-any
forPromise.any
.
v3.0.1
v3.0.0
💥 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 ES2020globalThis
. - 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
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
, andes/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 disallowsimport()
expressions. - cb7d13e added
es/no-promise-all-settled
rule that disallowsPromise.allSettled
function.
v1.4.1
v1.4.0
v1.3.2
v1.3.1
v1.3.0
New rules
- no-json-superset disallows JSON superset syntax which will be included in ES2019.
- no-optional-catch-binding disallows optional
catch
binding syntax which will be included in ES2019.