Skip to content

visitorKeys does not contain assertions property. #4177

Closed
@ota-meshi

Description

@ota-meshi
  • I have tried restarting my IDE and the issue persists.
  • I have updated to the latest version of the packages.
  • I have read the FAQ and my problem is not listed.

Repro

import foo from "mod" assert { type: "json" };

Expected Result

I expected that the implementation of the plugin rule could traverse the ImportAttribute node.

Actual Result

It is not actually traversed.

Additional Info

Versions

package version
@typescript-eslint/parser 5.4.0
TypeScript 4.5.0
ESLint 8.0.0
node 14

Metadata

Metadata

Assignees

No one assigned

    Labels

    accepting prsGo ahead, send a pull request that resolves this issuebugSomething isn't workinggood first issueGood for newcomerspackage: visitor-keysIssues related to @typescript-eslint/visitor-keys

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions