From 8e440f7dff2eac2cc79e1ee751b8fb14c6606aa2 Mon Sep 17 00:00:00 2001 From: LouisLam Date: Mon, 9 Aug 2021 00:09:33 +0800 Subject: [PATCH] add a bot for eslint on github --- .github/workflows/reviewdog.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .github/workflows/reviewdog.yml diff --git a/.github/workflows/reviewdog.yml b/.github/workflows/reviewdog.yml new file mode 100644 index 000000000..bae89ab5f --- /dev/null +++ b/.github/workflows/reviewdog.yml @@ -0,0 +1,12 @@ +name: reviewdog +on: [pull_request] +jobs: + eslint: + name: runner / eslint + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: reviewdog/action-eslint@v1 + with: + reporter: github-pr-review # Change reporter. + eslint_flags: 'src/'