Skip to content
This repository was archived by the owner on Jan 27, 2023. It is now read-only.

strlns/prettierignore-patterns-reproduction

Repository files navigation

Was meant to reproduce a problem / difference between .prettierignore and .gitignore.

There is no such difference, the problem was me.

Git-SCM documentation on .gitignore:

It is not possible to re-include a file if a parent directory of that file is excluded. Git doesn’t list excluded directories for performance reasons, so any patterns on contained files have no effect, no matter where they are defined.

This doesn't affect parent directories which have been included through the /* wildcard rule, but all explicitly ignored directories.

My two files had different directory hierarchies.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published