Fix ESLint errors in cosmos package #10776
Labels
Client
This issue points to a problem in the data-plane of the library.
Cosmos
help wanted
This issue is tracking work for which community contributions would be welcomed and appreciated
Milestone
Fix lint errors found in cosmos packages by ESLint. Following are the steps to run ESLint for cosmos packages and reproduce this issue.
<repo root>/sdk/cosmos/<package-name>
rushx lint
<repo root>/sdk/cosmos/<package-name>
with name ends with lintReport.htmlOnce all known issues are resolved, below change is required in
package.json
file in package root<repo root>/sdk/cosmos/<package-name>
to treat any new lint regression as hard failure in CI.package.json
-f html -o template-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: