-
Notifications
You must be signed in to change notification settings - Fork 311
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
chore(lint): add linting and formatting to CI #3816
base: master
Are you sure you want to change the base?
Conversation
a53a2f2
to
9a7b4a3
Compare
9a7b4a3
to
da303b0
Compare
da303b0
to
e3e1e47
Compare
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.
i think we might want to differentiate between linting and formatting. im looking into if it's possible to run the lint-staged config against modified files in a PR. that seems like an easiest approach without having to keep these script files in sync
- setup-workspace | ||
- run: | ||
name: Typescript | ||
command: yarn --cwd /buie tsc |
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.
not sure if this is intended and related to the caching issue from a few weeks ago but the working directory defined at the top is ~/buie
while all of these are commands occur at /buie
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.
its intentional, I tried different combinations to get it to match without having to hardcode the working directory folder, this was the only combination that worked.
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.
aren't these referring to separate directories though?
I think the bigger issue is using the lint-staged commands via CI, since you can just |
No description provided.