Skip to content
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

Can't run lint:fix script to resolve lint error #32350

Open
kazrael2119 opened this issue Dec 24, 2024 · 1 comment
Open

Can't run lint:fix script to resolve lint error #32350

kazrael2119 opened this issue Dec 24, 2024 · 1 comment
Labels
needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team.

Comments

@kazrael2119
Copy link
Contributor

Here is the error message when running lint:fix script in latest main
Image

repro steps:

1: cd sdk/documentintelligence/ai-document-intelligence-rest/
2: rush update && rush build -t @azure-rest/ai-document-intelligence
3: rushx lint:fix

this issue has happened recently, Three weeks ago, in my refresh pr, I submitted a commit to fix lint error in 634fbea, at that time, lint:fix was useable.

@github-actions github-actions bot added the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Dec 24, 2024
@MaryGao
Copy link
Member

MaryGao commented Dec 24, 2024

@jeremymeng is this expected? Previously we could leverage lint:fix to fix linting issues but now it reported errors directly even there is no error if we run lint directly.

It seems a common issue for RLC clients and you could reproduce it in https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/documentintelligence/ai-document-intelligence-rest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team.
Projects
None yet
Development

No branches or pull requests

2 participants