Skip to content

chore: update prettier configuration to ignore unknown file types#1119

Merged
artembelik merged 1 commit into
mainfrom
chore/lint-staged-prettier
Nov 13, 2025
Merged

chore: update prettier configuration to ignore unknown file types#1119
artembelik merged 1 commit into
mainfrom
chore/lint-staged-prettier

Conversation

@artembelik

Copy link
Copy Markdown
Contributor

No description provided.

@artembelik artembelik self-assigned this Nov 13, 2025
Copilot AI review requested due to automatic review settings November 13, 2025 07:36

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the prettier configuration to use the --ignore-unknown flag, which allows prettier to skip files it doesn't recognize instead of throwing errors. This improves the robustness of the prettier checks.

  • Updated the prettier script in package.json to include --ignore-unknown
  • Modified lint-staged configuration to use a wildcard pattern (*) with --ignore-unknown instead of specific file extensions

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
package.json Added --ignore-unknown flag to the prettier check script
.lintstagedrc.js Changed prettier glob from specific extensions to wildcard (*) with --ignore-unknown flag

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread package.json
@github-actions

Copy link
Copy Markdown

Visit the preview URL for this PR (updated for commit 5dc92da):

https://koobiq-next--prs-1119-4ivrid2b.web.app

(expires Tue, 18 Nov 2025 07:43:32 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: c9e37e518febda70d0317d07e8ceb35ac43c534c

@artembelik artembelik merged commit 42e4da4 into main Nov 13, 2025
16 checks passed
@artembelik artembelik deleted the chore/lint-staged-prettier branch November 13, 2025 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants