Skip to content

Commit

Permalink
chore: Add a couple of missing syntax 🤔
Browse files Browse the repository at this point in the history
  • Loading branch information
scagood committed Feb 23, 2024
1 parent de042b9 commit ca8a3b8
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions lib/rules/no-unsupported-features/es-syntax-additions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"[computed=false] Literal.key[bigint]": {
"name": "no-bigint-property-names",
"supported": ">=14.0.0"
},
"[shorthand=true][kind='get']": {
"name": "no-property-shorthands-getter",
"supported": ">=6.0.0"
},
"[shorthand=true][kind='set']": {
"name": "no-property-shorthands-setter",
"supported": ">=6.0.0"
},
"CallExpression[optional=true] > SpreadElement.arguments": {
"name": "no-spread-parameters-after-optional-chaining",
"supported": ">=16.1.0"
},
"MethodDefinition > PrivateName.key": {
"name": "no-class-private-methods",
"supported": ">=14.6.0"
},
"MemberExpression[object.name='Atomics'] > Identifier.property[name='notify']": {
"name": "no-class-private-methods",
"supported": ">=10.6.0"
},
"MemberExpression[object.name='Array'] > Identifier.property[name='fromAsync']": {
"name": "no-class-array-fromasync",
"supported": null
}
}

0 comments on commit ca8a3b8

Please sign in to comment.