0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-27 23:27:11 +01:00
mongodb/.prettierignore
Alya Carina Berciu 0f38dbf44f SERVER-93772 Add comment for golden tests in .prettierignore (#26649)
GitOrigin-RevId: 5548f465be71ea8036b56ee9f3b03a53feb43e15
2024-09-02 08:57:24 +00:00

42 lines
1.4 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Ignore everything
# We are making prettier opt in for the moment while we work on the rollout
# !*/ means do not ignore recursive directories
# Together these work togather to make nothing opted-in by default
*
!*/
# Do not ignore markdown and yaml
# We are only going to do markdown and yaml file formatting for now
# Hopefully we will use prettier for more file types in the future
!*.md
!*.yml
!*.yaml
# Ignore all golden test output files, which are machine-generated by the "golden"
# jstests. We would have to be able to run prettier (via bazel) during a jstest
# in order to format the "actual" output of the test so that we can safely diff it
# against the expected output, or accept the new output without needing to reformat.
# However, due to difficulties in running bazel within a jstest on evergreen, we
# will avoid formatting these files for now (see SERVER-93772).
jstests/*golden*/expected_output/*
# Ignore all template files
# When we eventually enable prettier on javascript these files are invalid and should be ignored
**/*.tpl.*
# Ignore .yy files since prettier seems to think these are json files
**/*.yy
# Ignore generated pnpm lock file
pnpm-lock.yaml
# Ignore version expansions that are created in evergreen
version_expansions.yml
# Ignore all formatting in third_party/*
src/third_party
# Ignore anything in the build output directories
build
bazel-*