-
Notifications
You must be signed in to change notification settings - Fork 27
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
Add lint and type checks to CI/CD flow #1096
Labels
Comments
junaidzm13
changed the title
Add lint and typecheck to CI/CD flow
Add lint and type checks to CI/CD flow
Jan 3, 2024
junaidzm13
added a commit
to junaidzm13/vuu
that referenced
this issue
Jan 3, 2024
- Our current CI/CD workflow is unable to catch any linting or typecheck errors. Adding these checks will help catch them before they are committed into main. - This change also defines a new action `setup-vuu-ui` which abstracts away common steps for ui jobs leading to better modularity and reusability.
junaidzm13
added a commit
to junaidzm13/vuu
that referenced
this issue
Jan 3, 2024
- eslint will ignore inlined-worker.js since its auto-generated. - lint script to also include .ts,.tsx files. - for now I've changed `@typescript-eslint/no-unused-vars` to only emit a warning as there are quite a few places where this rule is violated. Fixing all those with this MR would result in quite a big change. - we can do a separate follow-up change to fix all those and then revert to emitting errors for unused vars.
junaidzm13
added a commit
to junaidzm13/vuu
that referenced
this issue
Jan 3, 2024
junaidzm13
added a commit
to junaidzm13/vuu
that referenced
this issue
Jan 3, 2024
- Our current CI/CD workflow is unable to catch any linting or typecheck errors. Adding these checks will help catch them before they are committed into main. - This change also defines a new action `setup-vuu-ui` which abstracts away common steps for ui jobs leading to better modularity and reusability.
junaidzm13
added a commit
to junaidzm13/vuu
that referenced
this issue
Jan 3, 2024
- eslint will ignore inlined-worker.js since its auto-generated. - lint script to also include .ts,.tsx files. - for now I've changed `@typescript-eslint/no-unused-vars` to only emit a warning as there are quite a few places where this rule is violated. Fixing all those with this MR would result in quite a big change. - we can do a separate follow-up change to fix all those and then revert to emitting errors for unused vars.
junaidzm13
added a commit
to junaidzm13/vuu
that referenced
this issue
Jan 3, 2024
junaidzm13
added a commit
to junaidzm13/vuu
that referenced
this issue
Jan 3, 2024
- eslint will ignore inlined-worker.js since its auto-generated. - lint script to also include .ts,.tsx files. - for now I've changed `@typescript-eslint/no-unused-vars` to only emit a warning as there are quite a few places where this rule is violated. Fixing all those with this MR would result in quite a big change. - we can do a separate follow-up change to fix all those and then revert to emitting errors for unused vars.
junaidzm13
added a commit
to junaidzm13/vuu
that referenced
this issue
Jan 3, 2024
heswell
pushed a commit
that referenced
this issue
Jan 3, 2024
* #1096 add lint and typecheck to test-ui CI/CD workflow - Our current CI/CD workflow is unable to catch any linting or typecheck errors. Adding these checks will help catch them before they are committed into main. - This change also defines a new action `setup-vuu-ui` which abstracts away common steps for ui jobs leading to better modularity and reusability. * #1096 fix eslint related errors - eslint will ignore inlined-worker.js since its auto-generated. - lint script to also include .ts,.tsx files. - for now I've changed `@typescript-eslint/no-unused-vars` to only emit a warning as there are quite a few places where this rule is violated. Fixing all those with this MR would result in quite a big change. - we can do a separate follow-up change to fix all those and then revert to emitting errors for unused vars. * #1096 fix path casing for Tooltip.examples.tsx
junaidzm13
added a commit
to junaidzm13/vuu
that referenced
this issue
Jan 23, 2024
- with this change we also re-enable errors on unused-vars in eslint config.
junaidzm13
added a commit
to junaidzm13/vuu
that referenced
this issue
Jan 24, 2024
- with this change we also re-enable errors on unused-vars in eslint config.
heswell
pushed a commit
that referenced
this issue
Jan 24, 2024
- with this change we also re-enable errors on unused-vars in eslint config.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description of Problem:
Currently we do not run lint or typecheck on our CI/CD, which results in unidiomatic (or code not adhering to certain rules) or even worse buggy code committed to our main branch. It would be great to have these checks integrated into our CI/CD so that these issues can be caught and resolved early on in the development workflow resulting in more robust codebase and better development experience.
Potential Solutions:
unused-vars
errors and re-enable@typescript-eslint/no-unused-vars
to emit error on failureThe text was updated successfully, but these errors were encountered: