Skip to content

Commit

Permalink
Fixed ESLint version used by GitHub Actions from project dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianLeChat committed Apr 7, 2024
1 parent 2e481fc commit b548734
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Install ESLint
run: |
npm install eslint@latest
npm install @microsoft/eslint-formatter-sarif@latest
- name: Install dependencies
run: npm install
- name: Install SARIF formatter for ESLint
run: npm install @microsoft/eslint-formatter-sarif@latest
- name: Run ESLint
run: npx eslint ./assets/scripts
--config .eslintrc.json
Expand Down

0 comments on commit b548734

Please sign in to comment.