-
Notifications
You must be signed in to change notification settings - Fork 13
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 typescript-eslint to widgetv2 #184
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
name: ESLint Widget v2 | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- 'packages/widget-v2/**' | ||
|
||
jobs: | ||
eslint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: '18' | ||
- name: Install dependencies | ||
run: yarn install | ||
working-directory: packages/widget-v2 | ||
- name: Run ESLint | ||
run: yarn lint | ||
working-directory: packages/widget-v2 |
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.
@codingki how do you feel about us adding this? it'll cause builds that have errors when running yarn lint
to be red
I just added it
Add typescript-eslint to widgetv2
Don't allow unused imports/variables
Don't allow console.log
Error when hooks don't follow rules of hooks
Error when hooks have missing dependencies