eslint-visitor-keys package
See original GitHub issueAs 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:
- 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)?
- 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!
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (8 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
IMO, it should separate about visitor-keys from
eslint-traverse
. packages such asesrecurse
haveestraverse
as a dependency but it does not use their traversing logic.eslint-scope
is same. It’s the sign thatestraverse
has 2 responsibilities we can separate.I suppose, although it seems like the visitor keys could be exported by
eslint-traverse
too.