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

Fix ESlint errors for storage packages #10782

Closed
praveenkuttappan opened this issue Aug 23, 2020 · 4 comments
Closed

Fix ESlint errors for storage packages #10782

praveenkuttappan opened this issue Aug 23, 2020 · 4 comments
Labels
Client This issue points to a problem in the data-plane of the library. help wanted This issue is tracking work for which community contributions would be welcomed and appreciated Storage Storage Service (Queues, Blobs, Files)

Comments

@praveenkuttappan
Copy link
Member

praveenkuttappan commented Aug 23, 2020

Fix lint errors found in storage packages by ESLint. Following are the steps to run ESLint for storage packages and reproduce this issue.

  1. Set up your dev environment if not already done so as mentioned here
  2. Go to <repo root>/sdk/storage/<package-name>
  3. run rushx lint
  4. Command in step 2 generates an html report in directory <repo root>/sdk/storage/<package-name> with name ends with lintReport.html
  5. All lint errors found in this package is listed on html report.

Once all known issues are resolved, below change is required in package.json file in package root <repo root>/sdk/storage/<package-name> to treat any new lint regression as hard failure in CI.

  • Remove following snippet from lint command in 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.

@ghost ghost added the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Aug 23, 2020
@ramya-rao-a ramya-rao-a added this to the Backlog milestone Aug 25, 2020
@ghost ghost removed the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Aug 25, 2020
@ramya-rao-a ramya-rao-a added Client This issue points to a problem in the data-plane of the library. Storage Storage Service (Queues, Blobs, Files) labels Aug 25, 2020
@ramya-rao-a ramya-rao-a added help wanted This issue is tracking work for which community contributions would be welcomed and appreciated and removed Up for grabs labels Sep 15, 2020
@abc516
Copy link
Contributor

abc516 commented Oct 22, 2020

Hi @praveenkuttappan @ramya-rao-a can I take this one on too?

@ramya-rao-a
Copy link
Contributor

Yes, please go ahead.

@ramya-rao-a
Copy link
Contributor

@EmmaZhu Looks like we fixed things up in the blob, queue, file-share, changefeed, file-datalake packages. The below packages are pending

  • storage-internal-avro
  • perf-tests/storage-blob-track-1

@ramya-rao-a
Copy link
Contributor

Closing this issue in favor of #17945

@xirzec xirzec removed this from the Backlog milestone May 17, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Apr 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Client This issue points to a problem in the data-plane of the library. help wanted This issue is tracking work for which community contributions would be welcomed and appreciated Storage Storage Service (Queues, Blobs, Files)
Projects
None yet
Development

No branches or pull requests

5 participants