Skip to content

File with unicode character in name is not correctly ignored by .prettierignore #6250

@erikhofer

Description

@erikhofer

Environments:

  • Prettier Version: 1.18.2
  • Running Prettier via: CLI
  • Runtime: Node.js v11
  • Operating System: Windows 10

Steps to reproduce:
I created an example here: https://github.com/erikhofer/prettier-ignore-bug

Expected behavior:
All files in src/ignored-dir should be ignored.

Actual behavior:
The file starting with α is not ignored.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:apiIssues with Prettier's Application Programming Interfacearea:ignore.prettierignore file, --ignore-path CLI option, /* prettier-ignore */ comments and so onlocked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.scope:dependencyIssues that cannot be solved inside Prettier itself, and must be fixed in a dependency

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions