eslint-traverse
eslint-traverse copied to clipboard
Create a sub-traversal of an AST node in your ESLint plugin
Fixes #2
`eslint-traverse` throws an exception on https://github.com/discord/eslint-traverse/blob/master/index.js#L24 when traversing an array destructuring pattern with an omitted identifier, since the missing identifier's `node` property is set to `null`.
Hi @jamiebuilds love this little project, been really useful for writing some custom eslint rules. Thought I would add some typings to help with Intellisense etc. 😃