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

pipeline to check formatting and errors #29

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

adityaNth
Copy link
Contributor

pipeline to check formatting and errors in pitchlake ui

- name: Install dependencies with pnpm
run: pnpm install

- name: Lint code with ESLint
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. If ESLint returns feedback about the code format, will the job fail?
  2. Do the formatting rules need to be specified anywhere?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, if it encounters an error in the format, the job will fail. Also, you need to install ESLint in your code. Here's a reference you can check: ESLint Integration Tutorial.

Copy link
Collaborator

@dhruv035 dhruv035 Dec 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I use prettier not sure if this will break from that, do we really need formatting check and can we use prettier instead if we're checking just formatting?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants