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-2018enabled 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-es2018enables the rules about the new stuff of ES2018. This is the successor of oldplugin:es/no-2018config.plugin:es/restrict-to-es2018enables 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-fromentriesrule to ES2019 configs.
✨ New Rules
- 062b723 added
es/no-nullish-coalescing-operatorsrule for Nullish Coalescing. - 52ce781 added
es/no-import-metarule forimport.meta. - 90f5e0e added
es/no-export-ns-fromrule forexport * as ns from "mod". - b112d4d added
es/no-optional-chainingrule for Optional Chaining. - 223ff2d added
es/no-numeric-separatorsrule for Numeric Separators. - 6748df1 added
es/no-logical-assignment-operatorsfor Logical Assignment. - f89f09b, 4c41c2a, and e4de41a added
es/no-weakrefsfor WeakRefs. - 54f9308, 7a38624, and 781454b added
es/no-promise-anyforPromise.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-5preset to check new static methods in ES5.
✨ Enhancements
- 70e92e8 added
no-global-thisrule 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-2019config. 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-2019rule that disallows the new values of RegExp Unicode property escape sequences in ES2019. - 76301d4 added
es/no-bigintrule that disallows BigInt literals and globals. - 57bc750 added
es/no-dynamic-importrule that disallowsimport()expressions. - cb7d13e added
es/no-promise-all-settledrule that disallowsPromise.allSettledfunction.
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
catchbinding syntax which will be included in ES2019.