Skip to content

Commit a3db392

Browse files
authored
fix: Don't pass JSON files to eslint in Translations workflow (nodejs#5794)
1 parent 4d93098 commit a3db392

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/translations-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
- name: Run `npx lint:md --fix`
7171
# This runs a specific version of ESLint with only the Translation Pages Globbing
7272
# This avoid that unrelated changes get linted/modified within this PR
73-
run: npx eslint "{pages,i18n}/**/*.{json,md,mdx}" --fix
73+
run: npx eslint "pages/**/*.{md,mdx}" --fix
7474

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

0 commit comments

Comments
 (0)