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 1e25afc commit d4a56b7
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/js eslint stylelint stylelint-config-standard
- name: Run ESLint (*.js)
run: >
git diff --name-only --diff-filter=ACMTUXB origin/${{ github.base_ref }} HEAD |
Expand Down
Loading

0 comments on commit d4a56b7

Please sign in to comment.