layer5io / layer5

Layer5, expect more from your infrastructure
https://layer5.io
Apache License 2.0
866 stars 1.2k forks source link

lint errors while running `npm run pretest` #5747

Open narasimha-1511 opened 2 months ago

narasimha-1511 commented 2 months ago

Description

There were lot of indentation and spacing errors while running npm run pretest

Expected Behavior

There should be no indentation errors

Screenshots

https://github.com/user-attachments/assets/c5ec01c7-301a-452a-9e85-a2c762f0f2f0

Just run npm run preset to reproduce the errors and fix them

Environment:


Contributor Resources and Handbook

The layer5.io website uses Gatsby, React, and GitHub Pages. Site content is found under the master branch.

Join the Layer5 Community by submitting your community member form.

MrPhenomenal3110 commented 2 months ago

hey @narasimha-1511 I would like to work on this issue !

narasimha-1511 commented 2 months ago

Go on @MrPhenomenal3110 πŸš€

MrPhenomenal3110 commented 2 months ago

@narasimha-1511 After fixing all the other linting issues, the test files are throwing an error 'it' is not defined when running npm run pretest. Also, I do not see any test script in the package.json.

https://github.com/user-attachments/assets/390a1240-9000-4688-ae37-753d200e0854

Ashparshp commented 1 week ago

@MrPhenomenal3110, any luck?

MrPhenomenal3110 commented 1 week ago

@MrPhenomenal3110, any luck?

No. I have been busy with my work. I did not get enough time to think about this. You can check the slack thread for more information