From b55d2b063c5d0db6ba6a19aeb94dcaebbf1b4bf4 Mon Sep 17 00:00:00 2001 From: minhnp2 Date: Sat, 22 Oct 2022 14:15:09 -0500 Subject: [PATCH] Fix eslint #3 --- .github/workflows/eslint.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml index 1c49986fd..c4e3094c0 100644 --- a/.github/workflows/eslint.yml +++ b/.github/workflows/eslint.yml @@ -12,6 +12,10 @@ jobs: # Make sure the actual branch is checked out when running on pull requests ref: ${{ github.head_ref }} + - name: Install dependencies + run: npm install eslint eslint-plugin-react --legacy-peer-deps + working-directory: src/frontend/ + - name: Run ESLint run: npx eslint $(git ls-files '*.js' '*.jsx' '*.ts' '*.tsx') working-directory: src/frontend/ \ No newline at end of file