question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

eslint-visitor-keys package

See original GitHub issue

As discussed in yesterday’s TSC Meeting, we need to hammer out the details of the proposed eslint-visitor-keys package. This was proposed to extract and share visitor keys between parsers.

Questions to answer:

  1. What does the package exactly contain? Does it contain traversal logic or is just a static object of the default visitor keys (my understanding was the latter but there was some uncertainty during the meeting)?
  2. If it contains more than the default visitor keys, should we name is something different?

We can create the repo once we hash this out!

@eslint/eslint-tsc @JamesHenry

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
mysticateacommented, Sep 24, 2017

IMO, it should separate about visitor-keys from eslint-traverse. packages such as esrecurse have estraverse as a dependency but it does not use their traversing logic. eslint-scope is same. It’s the sign that estraverse has 2 responsibilities we can separate.

1reaction
not-an-aardvarkcommented, Sep 22, 2017

I suppose, although it seems like the visitor keys could be exported by eslint-traverse too.

Read more comments on GitHub >

github_iconTop Results From Across the Web

eslint-visitor-keys - npm
Constants and utilities about visitor keys to traverse AST.. Latest version: 3.3.0, last published: 10 months ago.
Read more >
eslint-visitor-keys - GitHub
Visitor keys. This keys are frozen. This is an object. Keys are the type of ESTree nodes. Their values are an array of...
Read more >
Top 5 eslint-visitor-keys Code Examples - Snyk
To help you get started, we've selected a few eslint-visitor-keys examples, based on popular ways it is used in public projects. Secure your...
Read more >
@typescript-eslint/visitor-keys | Yarn - Package Manager
Visitor keys used to help traverse the TypeScript-ESTree AST. eslint, typescript ... Monorepo for all the tooling which enables ESLint to support TypeScript....
Read more >
eslint-visitor-keys - npm.io
Check Eslint-visitor-keys 3.3.0 package - Last release 3.3.0 with Apache-2.0 licence at our NPM packages aggregator and search engine.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found