Skip to content

Commit

Permalink
CI: Use flat eslint config file
Browse files Browse the repository at this point in the history
eslintrc files are deprecated (starting with 9.0). So switch to the new
flat config file
  • Loading branch information
Leleat committed Apr 7, 2024
1 parent a7c5515 commit e94cdd9
Show file tree
Hide file tree
Showing 3 changed files with 287 additions and 288 deletions.
287 changes: 0 additions & 287 deletions .eslintrc.json

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/run-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
with:
node-version: "*"
- name: Prepare Linters
run: npm install -g eslint stylelint stylelint-config-standard
run: npm install -g eslint stylelint stylelint-config-standard && npm i @eslint/js
- name: Run ESLint (*.js)
run: >
git diff --name-only --diff-filter=ACMTUXB origin/${{ github.base_ref }} HEAD |
Expand Down
Loading

0 comments on commit e94cdd9

Please sign in to comment.