Skip to content

[feat] fallback ignorePath to .eslintignore if .prettierignore not found #630

@JounQin

Description

@JounQin

What version of eslint are you using?

8.56.0

What version of prettier are you using?

3.1.1

What version of eslint-plugin-prettier are you using?

5.1.2

Please paste any applicable config files that you're using (e.g. .prettierrc or .eslintrc files)

.prettierrc

What source code are you linting?

N/A

What did you expect to happen?

When .prettierignore not found, .eslintignore should be used as ignorePath

What actually happened?

When .prettierignore not found, .gitignore will be used as ignorePath by prettier itself

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions