Skip to content

Commit a170e8e

Browse files
committed
fix: keep --ignore-path .prettierignore for repos that have the file
1 parent 2fa2f67 commit a170e8e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/lint-markdown.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ jobs:
3737
run: markdownlint "**/*.md"
3838

3939
- name: Run Prettier
40-
run: prettier --check "{**/*.md,**/*.mdx}"
40+
run: prettier --check "{**/*.md,**/*.mdx}" --ignore-path .prettierignore

.github/workflows/lint-yaml.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ jobs:
3434
run: npm install -g prettier
3535

3636
- name: Check YAML Formatting
37-
run: prettier --check "**/*.{yml,yaml}"
37+
run: prettier --check "**/*.{yml,yaml}" --ignore-path .prettierignore

0 commit comments

Comments
 (0)