forked from mongodb/mongo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.prettierignore
More file actions
66 lines (54 loc) · 2.25 KB
/
.prettierignore
File metadata and controls
66 lines (54 loc) · 2.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# 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
!*.idl
!*.js
# Ignore files that fail after format
jstests/noPassthrough/js_exceptions.js
jstests/noPassthrough/network/client_metadata_slowlog.js
jstests/noPassthrough/network/client_metadata_slowlog_rs.js
# TODO(SERVER-110065): Fix these tests so that the formatting on them
# doesn't cause them to fail
jstests/sharding/rs_stepdown_and_pooling.js
jstests/sharding/migration_coordinator_abort_failover.js
jstests/sharding/resharding_commit_monitor_repl_lag.js
jstests/sharding/refresh_sessions.js
jstests/sharding/query/agg/agg_orphan_filtering_renamed_shardkey.js
jstests/sharding/safe_secondary_reads_single_migration_suspend_range_deletion.js
jstests/libs/shardingtest.js
# Opt in specific JS file paths
!*.mjs
# 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
# this file is automatically generated and conforms to formatting requirements
README.third_party.md
# Ignore anything in the build output directories
build
bazel-*
# Streams specific
src/mongo/db/modules/enterprise/src/streams/third_party/mongocxx/dist