Repo: reuse newly added "is builtin symbol like" logic from type-utils
#8234
Labels
accepting prs
Go ahead, send a pull request that resolves this issue
good first issue
Good for newcomers
locked due to age
Please open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.
refactor
PRs that refactor code only
repo maintenance
things to do with maintenance of the repo, and not with code/docs
Suggestion
Followup for #8011 (comment)
We've added few utility functions to the
packages/type-utils/src/builtinSymbolLikes.ts
Basically they contain the logic for determining whether a given type is a type from the TS default library or not
These files already contain similar logic, it'd be cool if we dedupe it!
typescript-eslint/packages/eslint-plugin/src/rules/no-implied-eval.ts
Lines 82 to 90 in 705370a
typescript-eslint/packages/eslint-plugin/src/rules/no-implied-eval.ts
Lines 145 to 153 in 705370a
Let's label this issue as
good first issue
? Ref: #8011 (comment)The text was updated successfully, but these errors were encountered: