Skip to content

fix(utils): add missing types for onCodePath* in RuleListener #6679

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

armano2
Copy link
Collaborator

@armano2 armano2 commented Mar 19, 2023

PR Checklist

Overview

Add missing type definition for events used in code path analysis

this should allow consumers use our types properly instead of having to use @ts-ignore

example:
https://github.com/SonarSource/eslint-plugin-sonarjs/blob/4dfd992eeccafca92caed52889b4f83bb1e38c3c/src/rules/no-one-iteration-loop.ts#L41

@typescript-eslint
Copy link
Contributor

Thanks for the PR, @armano2!

typescript-eslint is a 100% community driven project, and we are incredibly grateful that you are contributing to that community.

The core maintainers work on this in their personal time, so please understand that it may not be possible for them to review your work immediately.

Thanks again!


🙏 Please, if you or your company is finding typescript-eslint valuable, help us sustain the project by sponsoring it transparently on https://opencollective.com/typescript-eslint.

@netlify
Copy link

netlify bot commented Mar 19, 2023

Deploy Preview for typescript-eslint failed.

Name Link
🔨 Latest commit 6e4cf10
🔍 Latest deploy log https://app.netlify.com/sites/typescript-eslint/deploys/6416ca2c4cfff70007c00db6

@armano2 armano2 added the package: utils Issues related to the @typescript-eslint/utils package label Mar 19, 2023
@armano2 armano2 marked this pull request as ready for review March 19, 2023 08:39
@nx-cloud
Copy link

nx-cloud bot commented Mar 19, 2023

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 6e4cf10. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this branch


🟥 Failed Commands
nx run-many --target=build --parallel --exclude website

Sent with 💌 from NxCloud.

@armano2 armano2 marked this pull request as draft March 19, 2023 09:09
@armano2 armano2 closed this Mar 19, 2023
@armano2 armano2 deleted the fix/add-missing-definition-for-onX branch March 19, 2023 09:39
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 27, 2023
@armano2 armano2 restored the fix/add-missing-definition-for-onX branch August 27, 2023 10:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
package: utils Issues related to the @typescript-eslint/utils package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant