Drop some custom type guards in favor of ASTUtils #253
Closed
Description
As seen in some PRs created by @Belco90 , there's a utility ASTUtils
in '@typescript-eslint/experimental-utils'
which can replace some, but not all, of the type guards we have in our node-utils.ts file
This ticket is to review which type guards (isIdentifier
, isVariableDeclarator
, etc) are repeated, and drop those in favour of the ones in ASTUtils
. The ones that are not available there should continue to exist with our custom implementation.
Edit: This PR should target the v4 branch