-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Fix ESLint errors for internal tool packages #17826
Comments
Reopening this for the moment since there are still a few more packages to go. |
Part of work for Azure#17826
We have special eslint configuration file to be used to lint internal packages: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/.eslintrc.internal.json An example of using it can be found in Text Analytics perf tests. |
The track 1 perf tests aren't currently built by CI, so enabling the linter in this way won't do anything. And I believe we're planning on combining the |
Sounds good to me |
Nice to have
The following internal tools/tests still ignore ESLint errors.
We have special eslint configuration file to be used to lint internal packages: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/.eslintrc.internal.json
An example of using it can be found in Text Analytics perf tests.
We should fix ESLint errors for each of them. Feel free to send separate PRs for each package. Following are the steps to run ESLint for these packages and reproduce this issue.
rushx lint
Once all known issues are resolved, below change is required in
package.json
file the same folder to treat any new lint regression as hard failure in CI.package.json
-f html -o <package name>-lintReport.html || exit 0
Note: HTML report name prefix may be different for each package name to differentiate the report for each package.
The text was updated successfully, but these errors were encountered: