Skip to content

Commit

Permalink
feat: support Auto Accessor syntax (#5926)
Browse files Browse the repository at this point in the history
Co-authored-by: Brad Zacher <brad.zacher@gmail.com>
  • Loading branch information
sosukesuzuki and bradzacher committed Nov 28, 2022
1 parent fe67b1e commit becd1f8
Show file tree
Hide file tree
Showing 160 changed files with 8,205 additions and 869 deletions.
3 changes: 3 additions & 0 deletions .prettierignore
Expand Up @@ -12,6 +12,9 @@ packages/eslint-plugin/src/configs/*.json
CONTRIBUTORS.md
packages/ast-spec/src/*/*/fixtures/_error_/*/fixture.ts

# prettier doesn't yet support auto-accessors
packages/ast-spec/src/element/AccessorProperty/fixtures

# Ignore CHANGELOG.md files to avoid issues with automated release job
CHANGELOG.md

Expand Down
2 changes: 2 additions & 0 deletions packages/ast-spec/src/ast-node-types.ts
@@ -1,4 +1,5 @@
export enum AST_NODE_TYPES {
AccessorProperty = 'AccessorProperty',
ArrayExpression = 'ArrayExpression',
ArrayPattern = 'ArrayPattern',
ArrowFunctionExpression = 'ArrowFunctionExpression',
Expand Down Expand Up @@ -90,6 +91,7 @@ export enum AST_NODE_TYPES {
/**
* TS-prefixed nodes
*/
TSAbstractAccessorProperty = 'TSAbstractAccessorProperty',
TSAbstractKeyword = 'TSAbstractKeyword',
TSAbstractMethodDefinition = 'TSAbstractMethodDefinition',
TSAbstractPropertyDefinition = 'TSAbstractPropertyDefinition',
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit becd1f8

Please sign in to comment.