layer5 icon indicating copy to clipboard operation
layer5 copied to clipboard

lint errors while running `npm run pretest`

Open narasimha-1511 opened this issue 1 year ago β€’ 5 comments

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:

  • Host OS:
  • Browser:

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.

narasimha-1511 avatar Jul 28 '24 18:07 narasimha-1511

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

MrPhenomenal3110 avatar Jul 28 '24 18:07 MrPhenomenal3110

Go on @MrPhenomenal3110 πŸš€

narasimha-1511 avatar Jul 28 '24 18:07 narasimha-1511

@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

MrPhenomenal3110 avatar Jul 29 '24 13:07 MrPhenomenal3110

@MrPhenomenal3110, any luck?

ashparshp avatar Sep 20 '24 13:09 ashparshp

@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

MrPhenomenal3110 avatar Sep 21 '24 11:09 MrPhenomenal3110