Skip to content

5 add a linter formatter to github actions #1

5 add a linter formatter to github actions

5 add a linter formatter to github actions #1

Workflow file for this run

name: reviewdog
on: [pull_request]
jobs:
reviewdog:
name: reviewdog
runs-on: ubuntu-latest
steps:
- name: Check out source repository
uses: actions/checkout@v4
- name: Prettier Format
uses: reviewdog/action-black@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
level: warning
- name: ESLint Lint
uses: reviewdog/action-eslint@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
level: warning