Skip to content

Commit

Permalink
fix: Don't pass JSON files to eslint in Translations workflow (nodejs…
Browse files Browse the repository at this point in the history
  • Loading branch information
rodion-arr committed Sep 18, 2023
1 parent 4d93098 commit a3db392
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/translations-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
- name: Run `npx lint:md --fix`
# This runs a specific version of ESLint with only the Translation Pages Globbing
# This avoid that unrelated changes get linted/modified within this PR
run: npx eslint "{pages,i18n}/**/*.{json,md,mdx}" --fix
run: npx eslint "pages/**/*.{md,mdx}" --fix

- name: Run `npx prettier --write`
# This runs a specific version of Prettier with only the Translation Pages Globbing
Expand Down

0 comments on commit a3db392

Please sign in to comment.