-
Notifications
You must be signed in to change notification settings - Fork 58
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: Fixing formating and linting across the website code #541
Conversation
In my opinion we should add a script here that enforces linting and check on every new PR created through github actions, cc @frouioui views? |
That's indeed a very good idea if @frouioui approves add that implementation in the PR |
I think we should do what @utnim2 mentioned |
Sure will work on this 💯 |
@frouioui I have added the script |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To come back on what @utnim2 was saying, I think we should make this a CI check on every PR just like what we have in .github/workflows/golang_lint.yaml
.
Sure looking forward to add lint CI |
@@ -0,0 +1,53 @@ | |||
name: PR Workflow |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The name of the workflow should be more descriptive 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah good catch : D
I have improved this in my recent commit.
|
||
jobs: | ||
linting_and_type-checking: | ||
name: Linting, Formatting and Type checking |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The job name as well, we should mention it is related to react/ts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done this one also : )
Signed-off-by: Florent Poinsard <[email protected]>
Signed-off-by: Florent Poinsard <[email protected]>
Signed-off-by: Florent Poinsard <[email protected]>
Signed-off-by: Florent Poinsard <[email protected]>
adding format script and updating readme updating readme adding lint check workflow fixing path work dir fix work dir fix fix
author Dhairya Majmudar <[email protected]> 1715198956 +0530 committer Dhairya Majmudar <[email protected]> 1716135857 +0530 fix adding format script and updating readme updating readme work dir fix work dir fix fix workdir removing commit
Moving changes to PR #545 |
What kind of change does this PR introduce?
Formats the code files.
Issue Number:
#539
Screenshots/videos:
N/A
If relevant, did you update the documentation?
N/A
Summary
Code files are now formatted