Skip to content

Bug: Prettier plugin does not honor .prettierignore #2499

@scottohara

Description

@scottohara

What happened?

Given this .qlty/qlty.toml file:

config_version = "0"

[[source]]
name = "default"
default = true

[[plugin]]
name = "prettier"

...and this .prettierignore file in the repository root:

package-lock.json
package.json

....I would not expect to see these two issues in my workspace:

Image

What did you expect to happen?

Prettier plugin should work the same as running prettier locally, and honor any ignored files in the project's .prettierignore file

Can you reproduce the problem?

Yes, consistently

CLI Version

N/A - this is in the web UI when using the GitHub app

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions