Skip to content

Formatting Health and Meal Pages #9

Formatting Health and Meal Pages

Formatting Health and Meal Pages #9

Workflow file for this run

name: Lint TS (eslint, prettier)
on: [push, pull_request]
jobs:
lint-ts:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install dependencies
run: npm install
- name: 🏃‍♂️ Run ESLint
uses: reviewdog/action-eslint@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
reporter: github-pr-review
eslint_flags: ". --ext .js,.jsx,.ts,.tsx"